Adding a C++ DLL as a reference to C# works on x86 but fails on x64 Using Microsoft Visual Studio Professional 2019: