C#中是这样定义的:
[DllImport("WintecWinceDll.dll", EntryPoint = "PrintLineStr")]
public static extern int PrintLineStr(string[] str, int linecount, int mode);我在Delphi中调用这个函数时,对应string[]的Delphi类型是什么?
我试过string/PChar/PWideChar都不行。
[DllImport("WintecWinceDll.dll", EntryPoint = "PrintLineStr")]
public static extern int PrintLineStr(string[] str, int linecount, int mode);我在Delphi中调用这个函数时,对应string[]的Delphi类型是什么?
我试过string/PChar/PWideChar都不行。
之后版本string应该就可以了