unmanaged dll

  1. A

    Question Unable to Import C++ Function in C# using Digital Mars compiler but not using VS 2012

    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...
  2. R

    DllImport - Method's Type signature is not PInvoke compatible

    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...
Top Bottom