The following simple C++ program is compiled using Digital Mars (v 8.57) and also using Visual Studio 2012 Empty C++ project type (build target 86). When I try to import the functions in a C# program, the application crashes reading the Digital Mars version but works fine using the VS version...
I've been provided a C++ DLL that needs to be referenced in my C# project. The closest I've come to using that DLL yields an exception:
"Method's Type signature is not PInvoke compatible."
This is a simple DLL in that there is only a single method with a single input object and single...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.