Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » Clean Exit
Clean Exit [message #36343] Mon, 21 May 2012 14:48 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
New function

void Exit(int code = 1);

(Core/App.h)

is equivalent of C exit function, but implemented using exception (and catch in _APP_MAIN). This has an advantage of destructors being correctly called -> no leaks.

In related news, _APP_MAIN now catches Exc derivated exceptions and shows them using Panic.

For Rainbow implementation, GUI_APP_MAIN should now use AppExecute__(GuiMain_); to provide these features (instead of calling GuiMain_() directly).
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: LOGHEX, DUMPHEX, (and D/R/L variants)
Next Topic: SqlLoadTable, SqlLoadColumn
Goto Forum:
  


Current Time: Sat Apr 27 04:23:45 CEST 2024

Total time taken to generate the page: 0.99820 seconds