Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with OLE Automation
Message
 
À
05/04/2004 11:36:53
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00892291
Message ID:
00892407
Vues:
19
This message has been marked as the solution to the initial question of the thread.
Never mind. I figured it out.

In order to be able to access my class from multiple instances of my application, I need to not only create it with the OLEPUBLIC clause. I also must go into the Project Information window under the Servers tab. All of the OLEPUBLIC classes show up there as server classes. I have to designate the class that I want to be shared as "Multi-use". Once I've done that, I can use the GETOBJECT() function to look for an existing instance of the class. Each instance of my application shares the same instance of the class.
John Groft
Consultant
Computer Task Group, Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform