SetEnvironmentVariable
- Posted by Flaminio <newpow at TIN.IT> Oct 13, 1999
- 656 views
I can't use this function, it doesn't work, surely my prog is wrong...
please see if there's anything wrong in it...
include machine.e
include dll.e
atom kernel, SetEnvironmentVariable
kernel = open_dll("kernel32.dll")
SetEnvironmentVariable = define_c_func(kernel,
"SetEnvironmentVariableA", {C_INT, C_INT, C_INT},C_INT)
? c_func(SetEnvironmentVariable, {allocate_string("ciao"),
allocate_string("oiac"),1})

