当前位置: 代码迷 >> PB >> delphi和pb解决思路
  详细解决方案

delphi和pb解决思路

热度:135   发布时间:2016-04-29 09:31:49.0
delphi和pb
在pb里delphi的这个函数应该怎么定义function GetFaxStatusEx(HD: THandle; sServer: Pchar; buf: Pchar;Var IErr : integer; sError: Pchar): boolean;stdcall; external 'DLL.dll';

------解决方案--------------------
function boolean GetFaxStatusEx(long THandle,ref string sServer,ref string buf,ref long IErr,ref string sError) Library "DLL.dll"
------解决方案--------------------
ref就是为了说明是 指针。
在调用时,把变量名字作为参数就好了。
  相关解决方案