How to create a persistable activex dll?
Posted on 2002-06-24
I need to implement a database in memory on the server using VB dll, and acces it on the clients through COM+.
I've created a simple ActiveX dll, added a module with a public variable, and added a class with a get and set public functions.
Then I registered the dll into the components, application settings: server appl. and leave running when idle. If I use multiple instances of the components on the clients, they use own variables, and not share the same one.
I've coded the same in C++/Atl with a global variable, and worked.
How to make a gocal variable in VB dll (I mean the var is global for the class instances)???