I've created a tiny exe file that wraps a 3rd party dll using CLion with Visual Studio 2019 toolchain:
It works perfectly fine on my laptop. However when I "install" (=copy&paste) the exe file to another machine (Server 2012 R2 and yes I know this is WIn 81. based) it results in an appcrash. On this machine I needed to install Windows 10 SDK (1.2GB) and then it worked. However on another Win 10 machine it simply doesn't work even after installing the Win 10 SDK. This machine runs a never Win 10 version.
I'm completely lost as what the needed dependencies are on the target machines?
EDIT: Also installed newest C++ redistributable on the machine it doesn't work but same issue remains: exit code -1073741515