StrCpy doesn't work with defines.
I have to call a function out of a DLL-file, that needs a !define as a parameter, but I have to read the value out of an INI-file before. ReadINIStr works only with a user_var.
At first, with a define right into the push-string (1. parameter for CallInstDLL) it looked like this (and worked fine):
I tried it this way, but that doesn't work:!define XYZ
...
Push "$$$$XYZ$$$$=${XYZ}"
CallInstDLL Some.dll function
I can't change the $-inferno because it is needed for the called function/DLL and the corresponding XML file.Var /GLOBAL setXYZ
ReadINIstr $setXYZ ...
...
Push "$$$$XYZ$$$$=$setXYZ"
CallInstDLL Some.dll function
Any ideas?