Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a VFP com object that shares public vars
Message
From
03/02/2005 08:52:03
 
 
To
03/02/2005 03:58:22
Eyvind W. Axelsen
Profdoc Norge As
Oslo, Norway
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00983368
Message ID:
00983425
Views:
14
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?`
Previous
Reply
Map
View

Click here to load this message in the networking platform