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 |
|
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
|
|
|
Goto Forum:
Current Time: Tue Jun 04 23:35:09 CEST 2024
Total time taken to generate the page: 0.01541 seconds
|