Page 1 of 1

How to allow only one instance of my C++ and WxWidgets application?

Posted: Tue Jul 23, 2019 9:34 pm
by mxoliveira73
How is the way more easilly to allow only one instance running? In other words: if app is running, disallow other instance when the user click in .exe... Wxwidgets have something to it? Or is solved in C++?

Re: How to allow only one instance of my C++ and WxWidgets application?

Posted: Tue Jul 23, 2019 9:52 pm
by ONEEYEMAN
Hi,
Look at wxSingleInstanceChecker.

Thank you.

Re: How to allow only one instance of my C++ and WxWidgets application?

Posted: Tue Jul 23, 2019 10:39 pm
by mxoliveira73
There is simple solution in WxWidgets.... it works fine.... wonderfull. thanks ONEEYEMAN...