RE: Win32Lib, aborting a program
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Jun 15, 2001
- 441 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

