Re: please verify

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

Hello,

Flaminio wrote:

>Please verify the code below and please execute it to see which errors
>are in it :
>include machine.e
>include dll.e
>atom kernel, SetEnvironmentVariable
>kernel = open_dll("kernel32.dll")
>SetEnvironmentVariable = define_c_func(kernel, "SetEnvironmentVariableA",
>{C_POINTER, C_POINTER},C_INT)
>? c_func(SetEnvironmentVariable,

I'm not sure what this code does but it doesn't give me any errors.
It displays "1" ...
for a fraction of a second. Only my quick eyes could catch it...
with the help of the following code at the end of course:

--------------------------
include get.e
if wait_key () then end if
--------------------------

Is this what it's supposed to do?

later,
Lewis Townsend

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu