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 » U++ Library support » TopWindow&PopUp, TrayIcon » How to check whether application is running
Re: How to check whether application is running [message #38778 is a reply to message #27874] Wed, 16 January 2013 18:01 Go to previous messageGo to previous message
Alboni is currently offline  Alboni
Messages: 214
Registered: January 2012
Location: Deventer, Netherlands
Experienced Member
Neil,
The mutex is really a good solution because Windows will destroy it for you if your app terminates incorrectly.
Another idea is the use of memoryfiles, that is files that are created in memory instead of on disk.
I know it can be done with the CreatFile() system call on Windows.
Sadly I don't have sourcecode to share for that anymore because I wrote it for a previous employer.
More info: http://msdn.microsoft.com/en-us/library/windows/desktop/aa36 6542%28v=vs.85%29.aspx

 
Read Message
Read Message
Read Message
Read Message
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: TopWindow minimum size
Next Topic: Timeout on PromptYesNo?
Goto Forum:
  


Current Time: Wed May 08 23:20:02 CEST 2024

Total time taken to generate the page: 0.01916 seconds