Reading user defined value in wrun.ini file
I have defined a name,val pair in wrun.ini that specifies the name of my startup ini file. How can I retrieve its value?
I have tried getenv and getvar but they dont work
getenv(VARNAME) returns ""
getvar(VARNAME) returns unknown variable
I can always use GetPrivateProfileStringA from kernel 32 library, but I dont want to use it If I dont have to.
Re: Reading user defined value in wrun.ini file
Have you put VARNAME under quotation marks?
Returns the startup script as stored in the wrun.ini-file