有用C#进行二次开发进行程序烧录的吗? ESelectHard(const char *szHardName,const char* szProtocol, BOOL bDemo) 用C#不管怎么调用都返回0 [DllImport("eprcore60.dll" ,CallingConvention = CallingConvention.Cdecl,CharSet = CharSet.Ansi)] public static extern int ESelectHard([MarshalAs(UnmanagedType.LPStr)] StringBuilder szHardName, [MarshalAs(UnmanagedType.LPStr)] StringBuilder szProtocol, [MarshalAs(UnmanagedType.Bool)] bool bDemo); |
你这个问题,貌似有点问错地方了!!! |