SetEnvironmentVariable

new topic     » topic index » view thread      » older message » newer message

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})

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu