Sat, 10/27/2001 - 04:43
Forums:
Hello.
In the OCAF Sample this lines are used to add function drivers to the table:
Handle(TSampleOcafFunction_BoxDriver) myBoxDriver = new TSampleOcafFunction_BoxDriver();
TFunction_DriverTable::Get()->AddDriver(Standard_GUID("BoxDriver"), myBoxDriver);
Is this the correct way? I think this doesn't create unique GUIDs. I added some function drivers this way but sometimes the wrong fdriver is called.
I saw a post that mensioned guidgen.exe. Is this the way to create "unique" GUID from a specific word? Where is this file?
Thanks
Sat, 10/27/2001 - 04:54
> I saw a post that mensioned guidgen.exe. Is
> this the way to create "unique"
> GUID from a specific word? Where is this
> file?
Hello,
If you have VisualC++ installed, it should be in C:\Program Files\Microsoft Visual Studio\Common\Tools
To see how it works, see the VC++ help.
Stephane