View Single Post
 
Old August 25th, 2006, 01:18 PM
maxpotters maxpotters is offline
Authorized User
 
Join Date: Feb 2005
Location: , , Netherlands.
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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)