Hi All,
I have created a activex dll in vb6. It is a very simple dll with
some functions that do operations on an array of data. What I would
like to have happen is for different modules to be able to access this
dll object and for the array of data to stay static.
For example
public tempy as new DLLobj
mod1()
tempy.array = 1
mod2()
print tempy.array 'it would display a 1
What I am finding is that if i declare the public within the global
section of mod 1 then it works only in mod1 and not 2. I am also
finding that the data is not staying static from run to run.
In other words I want my dll to keep static data for the life of a
project and be accessible from all forms/modules/etc.
Any suggestions?
Archived from group: microsoft>public>vb>enterprise