“Unable to find an entry point named [function] in dll” (c++ to c# type conversion)

前端 未结 9 1384
夕颜
夕颜 2020-12-14 02:09

I have a dll which comes from a third party, which was written in C++. Here is some information that comes from the dll documentation:

//start documentation
         


        
9条回答
  •  -上瘾入骨i
    2020-12-14 02:29

    I'd write a wrapper using C++/CLI. This wrapper will be able to include the .h files and link to the .lib files you got from the third party vendor. Then it is both easy and safe to write a managed interface for your C# program.

提交回复
热议问题