Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does Calvin's code work?
Message
De
25/02/2004 18:37:36
 
 
À
25/02/2004 17:54:14
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00880866
Message ID:
00880949
Vues:
75
>Hi Al.
>
>>I can't see where the iDemoEvents interface is defined.
>
>VFP adds an "I" prefix to the name of the DemoEvents class to create the IDemoEvents interface.

Thanks, I missed that completely. Didn't see it anywhere in the documentation I was browsing on VFP COM servers.

>
>>And, in the sample IDEMO.PRG, the cCallBack class is instantiated before the iDemo COM server.
>
>The iDemo COM object doesn't have to be instantiated in order for the cCallBack class to implement its interface.

Ah, OK. If I read it right, the interface definition is stored in the Registry as part of the registration process of a COM server. Thanks.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform