DllImport Unmanaged, Non .NET Dll to .NET Project Representing Char * and Void __StdCall

前端 未结 2 550
轮回少年
轮回少年 2021-01-23 02:40

I have a DLL non .net and unmanaged written in Borland C++ that I need to import. It returns void and has the identifier __stdcall on the function. It also requires passing of c

2条回答
  •  温柔的废话
    2021-01-23 03:37

    To use DllImport, you don't need to add a reference of the dll, just put the dll beside your executable or in system32 and it should work.

提交回复
热议问题