1. Win32Lib, aborting a program for Robert
- Posted by Euman <euman at bellsouth.net> Jun 15, 2001
- 369 views
> 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
2. Re: Win32Lib, aborting a program for Robert
- Posted by Robert Craig <rds at RapidEuphoria.com> Jun 15, 2001
- 355 views
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