tomnich
asked on
Global variables for use with a DLL and referencing application
Can you store global variables in a DLL so they can be used within the DLL and by the referencing application - if so, how?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, Doesn't really acheive what I want, and it seems what I want is not possible
the only way you have to do what you want is to declare Properties Set and Let and Properties Get in a classe module where you want to "share" the variable.
Properties Set/Let allow you to assign to the global variable of a class a object/simple value(number, string,etc).
Propertie Get allow you to retrieve the value that exists in the variable.
If you want more info, i'll be available on monday.
Bye.