Message 1 of 4
To experienced VB programmers - Out of Process ActiveX EXE
Not applicable
12-06-2007
07:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an application witch is made of 5 DLLs that all reference a helper ActiveX DLL. Right now, this has the drawback to create 5 instances of my helper ActiveX DLL (or 5 instances of `my GlobalMultiUse classin the dll).
But I now want to store the info of my User in this ActiveX so that all my DLLs can refer to this User object to check the authentification state of the current user. But for this to work, I must have only one instance of my User object. But how do I expose and access an object from an ActiveX EXE that would be static to memory (thus the exe would continue running) untill I am done with it? Optimally, I would also like my User object to be present (or accessible) from a Global class in my ActiveX EXE.
Is this possible?
Any help or input would be appreciated.
Thx in advanced...
But I now want to store the info of my User in this ActiveX so that all my DLLs can refer to this User object to check the authentification state of the current user. But for this to work, I must have only one instance of my User object. But how do I expose and access an object from an ActiveX EXE that would be static to memory (thus the exe would continue running) untill I am done with it? Optimally, I would also like my User object to be present (or accessible) from a Global class in my ActiveX EXE.
Is this possible?
Any help or input would be appreciated.
Thx in advanced...