I have created a DLL but I am having problems with storing values in a global variable. I want to do the following:
1. Execute Function
2. If global variable is certain value then do something and assign new value to global variable.
3. exit function and save value of global variable
It works fine in a normal project but in the dll the value of the global variable only exists while the function is running, after that the global variable seems to get destroyed!
HELP!(please)
Neil![[bigears] [bigears] [bigears]](/data/assets/smilies/bigears.gif)
1. Execute Function
2. If global variable is certain value then do something and assign new value to global variable.
3. exit function and save value of global variable
It works fine in a normal project but in the dll the value of the global variable only exists while the function is running, after that the global variable seems to get destroyed!
HELP!(please)
Neil
![[bigears] [bigears] [bigears]](/data/assets/smilies/bigears.gif)