Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does Calvin's code work?
Message
From
25/02/2004 18:37:36
 
 
To
25/02/2004 17:54:14
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00880866
Message ID:
00880949
Views:
74
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform