store variables from DLL file
Hi all,
I have created a DLL with Visual Basic 6.0. Now, when I run subroutines in this DLL from, for example, a standard EXE, all the variables used in this specific subroutine are cleared from the memory after being run. I would like to use the values from these variables further in my Executable (I already tried a Static statement, but somehow this makes my DLL crash).
So, to the question: Does anyone know how to store variables from a DLL in such a way that I can easily use/retrieve their values in an executable? (I have created a link between the DLL and the Executable)
Thanks in advance
Max (18)
|