我从dll中引入一个Load 方法,但是这个方法名与this.Load重名。请问如何解。否则它总是报错:
Attempted to read or wrITe protected memory. This is often an indication that other memory is corrupt
Attempted to read or wrITe protected memory. This is often an indication that other memory is corrupt
public delegate void NativeCallback(byte c);
public static NativeCallback callback = null;
[DllImport(Constant.Dllname_amc, EntryPoint = "Load", SetLastError = true)]
public extern static AMC_RETURN LoadEx(char[] pcFileName, out char[] pcError, NativeCallback fnFunc);
使用的是否总是报错:
Attempted to read or wrITe protected memory. This is often an indication that other memory is corrupt
用stringbuilder类型
FT_PROGRAM_DATA 是一个struct,如何将下面的函数转成c#
int EERead(FT_PROGRAM_DATA *psEEData_);