C++ Team Blog

The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team

MFC Application Instance Control

An interesting question, asked days ago in one of our C++ forums, was the following: A possible approach, based in mutex (mutual exclusion) objects, was posted a few hours later. In the proposed schema you declare a mutex object inside the MFC application class (i.e. the class header): When you define the MFC application ...