C#调用C或C++编写的DLL库

1.编写DLL文件 (1)新建DLL工程 (2)选择空工程,类型为DLL (3)添加.c文件 #include <stdio.h> struct struStudent { int a; int b; int c; }; extern "C"  __declspec(dllexport) int add(struStudent strStudent,int b);   int add(struSt
相关文章
相关标签/搜索