摘要:
/C++中的DLL函数原型为//extern "C" __declspec(dllexport) bool 方法名一(const char* 变量名1, unsigned char* 变量名2)//extern "C" __declspec(dllexport) bool 方法名二(const unsigned char* 变量名1, char* 变量名2)//C#调用C++的DLL搜集整理的所有数据类型转换方式,可能会有重复或者多种方案,自己多测试//c++:HANDLE(void *) ---- c#:System.IntPtr//c++:Byte( 阅读全文
posted @ 2014-03-14 14:17
simadi
阅读(3046)
评论(0)
推荐(0)
浙公网安备 33010602011771号