Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best practice for developing COM
Message
From
27/01/2005 09:46:39
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00981019
Message ID:
00981182
Views:
27
Terry,

>Thanks David - I needed that!

Just a clarification of what David F said...

When you build the MTDLL on different computers you MAY get a different CLSID. If you copy the entire project to another computer AFTER it has first been built as a COM server on the first computer, the CLSID's will be the same because the CLSID is stored in the PJX.

However, even then, you can override that and create a different CLSID any time you want by checking "Regenerate Component IDs" on the Build dialog. Generally it's a good idea to stick with the same CLSID unless you have some special circumstance, because you can sometimes end up with multiple entries in the registry with several CLSIDs attached to the same "project.class" component name.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform