Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best practice for developing COM
Message
De
27/01/2005 09:46:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00981019
Message ID:
00981182
Vues:
26
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform