C#调用C++ api
using System.Runtime.InteropServices
[dllImport("a.h")]
public static extern int A()
{
....
}
using System.Runtime.InteropServices
[dllImport("a.h")]
public static extern int A()
{
....
}
原来的。h文件用放在debug下么?