Random plugin crashes with MSVC
We've been building Adobe export plugins for many years and this went fairly well.
This week I was confronted that our plugin didn't want to run anymore, didn't happen always as it seemed to be related to being built on a computer with a more recent version of Microsoft Visual Studio installed and only in release builds.
What we observe is an runtime error with a locking a std::mutex crashing Adobe.
After some trial and error we found that when we 'disable' the runtime dlls from Microsoft from the Application Support directory of After Effects the issue goes away - as Adobe would be using the system installed runtime dlls in that case.
I'm not sure why Adobe decided to ship runtime dllls next to their binaries and not rely on a minimum installed version of these which I've always been advised as the proper way to do things.
Anyhow it seems that this blocks us from moving foward to a newer version of Visual Studio as that would be blocking creating plugins for Adobe.
Machines with MSVC 2022.8 still work but with 2022.12 are blocking.
Is there anything we can do make sure our plugins can be built with a later version?
