110,571
社区成员
发帖
与我相关
我的任务
分享
int function_1(long _hwnd);
[DllImport("DLL\\xxx.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern string function_1(Int32 _control);
//调用
IntPtr intptr = textBox1.Handle;
function_1(intptr.ToInt32()); //这里报错了