General information
Category:
COM/DCOM and OLE Automation
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only