1. Win32Lib, aborting a program for Robert

> constant exit = registerw32Proc( kernel32, "ExitProcess", {C_UINT})
> w32Proc( exit, {0})
> 
> Matt Lewis
> 

I believe Robert has already updated this in
the translator so if you translated a Eu prog
you should have to do this again...

Correct "ROBERT"?

Euman
euman at bellsouth.net

new topic     » topic index » view message » categorize

2. Re: Win32Lib, aborting a program for Robert

Euman writes:
>> constant exit = registerw32Proc( kernel32, "ExitProcess", {C_UINT})
>> w32Proc( exit, {0})
>> 
>> Matt Lewis
>> 
>
> I believe Robert has already updated this in
> the translator so if you translated a Eu prog
> you should have to do this again...
>
> Correct "ROBERT"?

I tried ExitProcess() for a while,
but later I removed it when I found ExitProcess()
closes the .dll's, but surprisingly, does *not* close
the regular C fopen() files that are still open 
- something that C's exit() does for you. 

In 2.3 (Translator and Interpreter) I'll continue to use
exit(), and I'll close any still-open .dll's for you, 
by keeping a list of the ones you opened.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu