CriticalSection crashes with VS 2022

This sounds a little bit similar to the issue described in the linked thread, although that seemed to affect std::mutex rather than the Win32 mutex:

Regardless, if you have any library dependencies, it might be worth checking that you’re statically linking the most recent C++ runtime, or have the most recent dynamic runtime installed and available.

There’s some useful information about toolset compatibility on this page.

1 Like