Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why Erik Moore uses OLEPUBLIC in interface implementation?
Message
De
28/10/2001 16:48:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Why Erik Moore uses OLEPUBLIC in interface implementation?
Divers
Thread ID:
00574273
Message ID:
00574273
Vues:
58
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform