How to access to a global var which name is on a string variable ?
Posted on 2010-09-23
I would like to access to a global var which I don't know its name in compilation time. I have a string variable containing the name of the global var, and I would like to access to the contents of this global var which is known at run-time.
I found GetGlobalVarID and GetLongGlobalVar functions which I feel its exactly what I need, but I don't know how to use them. Can you provide me an example ?