1. RE: Win32Lib, aborting a program
- Posted by Grape Vine <g__vine at hotmail.com> Jun 14, 2001
- 383 views
DOH! i knew about closewindow(), abort() returns abort() not defined jjnick at cvn.com wrote: > closeWindow() or abort() > > ----- Original Message ----- > From: "Grape Vine" <g__vine at hotmail.com> > To: "EUforum" <EUforum at topica.com> > Sent: Thursday, June 14, 2001 11:33 PM > Subject: Win32Lib, aborting a program > > > > > > > > How do you automaticly exit a win32lib app when it is done? > > Im making a script runner. It reads a file, sets some command line > > switchs for blat, calls blat with said switch's then needs to exit > > > > > > Grape Vine > > 13728824 > > > > Grape Vine 13728824
2. RE: Win32Lib, aborting a program
- Posted by Grape Vine <g__vine at hotmail.com> Jun 15, 2001
- 375 views
That helps a bit, Tho its not exactly what im looking for. Might solve a different problem tho. Igor Kachan wrote: > Hi Grape Vine, > > > returns abort() not defined > > Try please: > > ---prog1.exw > integer i > i=system_exec("exw.exe prog2.exw", 2) > ? i > while get_key()=-1 do end while > ------- end of prog1.exw > > ---prog2.exw > integer a a=500 > integer b b=2 > abort(a*b) > ------- end of prog2.exw > > Run prog1.exw and see result from prog2.exw. > > May be, this trick can help ? > > If I understand your problem ... > > Regards, > Igor Kachan > kinz at peterlink.ru > > > DOH! i knew about closewindow(), abort() > > returns abort() not defined > > > > jjnick at cvn.com wrote: > > > closeWindow() or abort() > > > > > > > > > > > How do you automaticly exit a win32lib > > > > app when it is done? > > > > Im making a script runner. It reads a file, > > > > sets some command line > > > > switchs for blat, calls blat with said > > > > switch's then needs to exit > > > > > > > > Grape Vine > > > > 13728824 > > > > > > > > > > > Grape Vine > > 13728824 > Grape Vine 13728824
3. RE: Win32Lib, aborting a program
- Posted by Bernie Ryan <xotron at localnet.com> Jun 15, 2001
- 354 views
Grape Vine wrote: > How do you automaticly exit a win32lib app when it is done? > Im making a script runner. It reads a file, sets some command line > switchs for blat, calls blat with said switch's then needs to exit > > > Grape Vine > 13728824 > What about ExitProcess(0) that provides a clean shut down and closes all the dll's & threads, etc. Bernie
4. RE: Win32Lib, aborting a program
- Posted by Grape Vine <g__vine at hotmail.com> Jun 15, 2001
- 364 views
C:\EUPHORIA\EuApps\EuEMail\box.exw:135 ExitProcess has not been declared ExitProcess(0) ^ Press Enter... Bernie Ryan wrote: > > Grape Vine wrote: > > How do you automaticly exit a win32lib app when it is done? > > Im making a script runner. It reads a file, sets some command line > > switchs for blat, calls blat with said switch's then needs to exit > > > > > > Grape Vine > > 13728824 > > > > What about ExitProcess(0) that provides a clean shut down and > closes all the dll's & threads, etc. > > > > Bernie > Grape Vine 13728824
5. RE: Win32Lib, aborting a program
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Jun 15, 2001
- 361 views
> C:\EUPHORIA\EuApps\EuEMail\box.exw:135 > ExitProcess has not been declared > ExitProcess(0) ExitProcess is actually in kernel32. It's actually a good idea to call this whenever you exit from Euphoria, since Eu 2.2 doesn't call this (but Rob has said 2.3 will). Here's what you do: constant exit = registerw32Proc( kernel32, "ExitProcess", {C_UINT}) w32Proc( exit, {0}) Matt Lewis
6. RE: Win32Lib, aborting a program
- Posted by Grape Vine <g__vine at hotmail.com> Jun 15, 2001
- 361 views
AAhh, many thanx. Any reasion why this isnt in win32lib.ew?? Matthew Lewis wrote: > > > C:\EUPHORIA\EuApps\EuEMail\box.exw:135 > > ExitProcess has not been declared > > ExitProcess(0) > > ExitProcess is actually in kernel32. It's actually a good idea to call > this > whenever you exit from Euphoria, since Eu 2.2 doesn't call this (but Rob > has > said 2.3 will). Here's what you do: > > constant exit = registerw32Proc( kernel32, "ExitProcess", {C_UINT}) > w32Proc( exit, {0}) > > Matt Lewis > Grape Vine 13728824
7. RE: Win32Lib, aborting a program
- Posted by Grape Vine <g__vine at hotmail.com> Jun 15, 2001
- 358 views
C:\EUPHORIA\EuApps\EuEMail\box.exw:73 registerw32Proc has not been declared constant exitexit = registerw32Proc( kernel32, "ExitProcess", {C_UINT}) =) the name exit seams to be used already so i did exitexit Matthew Lewis wrote: > > > C:\EUPHORIA\EuApps\EuEMail\box.exw:135 > > ExitProcess has not been declared > > ExitProcess(0) > > ExitProcess is actually in kernel32. It's actually a good idea to call > this > whenever you exit from Euphoria, since Eu 2.2 doesn't call this (but Rob > has > said 2.3 will). Here's what you do: > > constant exit = registerw32Proc( kernel32, "ExitProcess", {C_UINT}) > w32Proc( exit, {0}) > > Matt Lewis > Grape Vine 13728824