RE: Win32Lib, aborting a program

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu