dllexport用法
时间: 2024-05-21 13:11:27 浏览: 134
DllExport
[DllImport("DllName.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern int FunctionName(int param1, int param2);
[DllImport("DllName.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern void FunctionName2(string param1, int param2);
[DllImport("DllName.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern IntPtr FunctionName3(string param1);
阅读全文