Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dcom and local registration
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01092140
Message ID:
01093240
Vues:
19
Hi Mark,

>How can I find out the Class Id?

When you build the COM server, VFP generates a VBR file that has the same name as the EXE. One of the lines in this file should look like this:

HKEY_CLASSES_ROOT\AFP3.Core\CLSID = {03CFFE69-CCCE-458B-9023-30FB1EF33F2F}

The name on the left side contains the ProgID that you use now to create an instance of the object, the right side gives you the class ID.

One important note: Whenever you check the "Regenerate Component IDs" on the project build dialog, these class id change. Sometimes it's necessary to update the class ID. Microsoft recommends to do that whenever you change the interface of the class.
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform