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