Re: Derek, CChris: Question about Win32lib's AppCleanUp

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

Judith Evans wrote:

How does this work .. ? 
function AppCleanUp(integer ErrCode, sequence ErrText, integer ControlId,
    integer LastCleanUp)
     if ErrCode then
 	VOID=message_box("closing IDE due to Winlib fatal error","",0)
     	closeApp()
     end if
     return 0 -- Continue with other clean up routines.
 end function
 
 -- Link in clean-up routine
 VOID = attachCleanUp( routine_id("AppCleanUp" ))



-- 
Derek Parnell
Melbourne, Australia
Skype name: derek.j.parnell

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

Search



Quick Links

User menu

Not signed in.

Misc Menu