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 » Newbie corner » Simple thread example
Re: Simple thread example [message #29674 is a reply to message #29672] Sat, 06 November 2010 20:03 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

nlneilson wrote on Sat, 06 November 2010 19:45

Is there a way in Upp/C++ to close all open files and end all threads started by the app when clicking the red x to end?

I usually do this in the destructor of the class that contains the file stream or of the main window of my app. Possibly after IsOpen() test, if necessary.

Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Upp (Help) documentation
Next Topic: Few questions
Goto Forum:
  


Current Time: Tue Jun 04 23:35:09 CEST 2024

Total time taken to generate the page: 0.01541 seconds