Xplatcppwindowsdll Updated Guide

xplatcpp_windows_dll( TARGET mylib VERSION 3.0.0.1 COMPATIBILITY "same-machine" DEPLOY_MANIFEST ON )

Ensure your Visual Studio project uses the /MT (Static CRT) or /MD (Dynamic CRT) flag as specified in the new documentation. Mixed CRT versions are the number one cause of "DLL Hell" with this update. xplatcppwindowsdll updated

The most notorious bug in cross-platform DLLs is . Previously, if a Linux client allocated std::vector and passed it to the Windows DLL to delete, the application would crash due to mismatched CRT heaps. xplatcpp_windows_dll( TARGET mylib VERSION 3

While MSVC is the default on Windows, many open-source projects rely on MinGW-w64 or LLVM-MinGW for Unix-like build environments. The xplatcppwindowsdll update now includes: xplatcppwindowsdll updated