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 » Program didn't exit in Task Manager after click [X]
Re: Program didn't exit in Task Manager after click [X] [message #55399 is a reply to message #55268] Sat, 07 November 2020 07:53 Go to previous messageGo to previous message
peterh is currently offline  peterh
Messages: 108
Registered: November 2018
Location: Germany
Experienced Member
For Windows, this solves the problem, so far I can see:

GUI_APP_MAIN
{
	MainWindow().Sizeable().Run();
	ExitProcess(0);
}


ExitProcess() is a Windows system call that terminates all blocking IO and kills all threads, including main thread and process.
https:// docs.microsoft.com/en-us/windows/win32/procthread/terminatin g-a-process

[Updated on: Sat, 07 November 2020 10:10]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: report generator
Next Topic: Pie Chart in U++?
Goto Forum:
  


Current Time: Thu May 16 22:13:46 CEST 2024

Total time taken to generate the page: 0.02483 seconds