Maybe this will help:
https://github.com/qtproject/qt-solutions/tree/master/qtsingleapplication


On 04/22/2016 12:07 PM, Jason Kretzer wrote:
Everyone,

Anyone know how to prevent multiple instances of an exe to be started? So, I start bob.exe. I then I try to double click and start bob.exe again while the first is still running and a second instance does not start (or at least shuts itself down or does anything other than start another instance).

Is there a Qt/C++ on Windows way to do that?

//------------------------------//
   Jason R. Kretzer
   Lead Application Developer
ja...@gocodigo.com <mailto:ja...@gocodigo.com>
//------------------------------//

“quidquid latine dictum sit altum videtur"


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to