Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a VFP com object that shares public vars
Message
De
03/02/2005 08:52:03
 
 
À
03/02/2005 03:58:22
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00983368
Message ID:
00983425
Vues:
13
You can't directly access the memory variable of the host. You need to pass the variables content to the COM or encapsulate them in a class and pass a reference to the instance of that class to the COM.

HTH

>I have a situation in which an exe is running, and then I create a COM object by instantiating an OlePublic class within this exe. What I would like to do, is to have the COM object have access to the global application object goApp in tjhe already running exe, as it contains info about which user is logged in etc. Is this possible?`
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform