Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why Erik Moore uses OLEPUBLIC in interface implementation?
Message
From
28/10/2001 16:48:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Why Erik Moore uses OLEPUBLIC in interface implementation?
Miscellaneous
Thread ID:
00574273
Message ID:
00574273
Views:
54
Erik Moore has an artice in MSDN Magazine about VFP 7 event binding

http://msdn.microsoft.com/msdnmag/issues/01/10/VFP7/VFP7.asp

Figure 9 (and figure 6) in this article defines interface implementation class
DEFINE CLASS WordEvents AS Session OLEPUBLIC
...
The OLEPUBLIC keyword causes unnessecary registration of com server during building project. Interface implementation works without OLEPUBLIC.

I'm wondering why the OLEPUBLIC keyword is there !?

Also, why the Session is used as base class in those two figures? This
prevents interface implementation class from accessing currently opened
tables.
Andrus
Next
Reply
Map
View

Click here to load this message in the networking platform