>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