VC中的DLL:VPIClientDll.dll函数定义为:
Typdef DWORD VPI_HANDLE
VPI_HANDLE VPI_Register(char *IPstr, WORD Port) delphi调用:
function VPI_Register(var IPStr:pchar;port:Dword):VPIHandle;pascal;external 'VPIClientDll.dll';
提示如上错误!!请问是什么原因?
Typdef DWORD VPI_HANDLE
VPI_HANDLE VPI_Register(char *IPstr, WORD Port) delphi调用:
function VPI_Register(var IPStr:pchar;port:Dword):VPIHandle;pascal;external 'VPIClientDll.dll';
提示如上错误!!请问是什么原因?
Typdef DWORD VPI_HANDLE
VPI_HANDLE VPI_Register(char *IPstr, WORD Port) delphi调用:
function VPI_Register(var IPStr:pchar;port:word):dword;stdcall;external 'VPIClientDll.dll';
function VPI_Register(var IPStr:pchar;port:Dword):VPIHandle;stdcall;external 'VPIClientDll.dll';
VPIHandle:我定义的Dword类型
function VPI_Register(var IPStr:pchar;port:Dword):VPIHandle;stdcall;external 'VPIClientDll.dll';
VPIHandle:我定义的Dword类型
function VPI_Register(var IPStr:pchar;port:Dword):VPIHandle;stdcall;external 'VPIClientDll.dll';
VPIHandle:我定义的Dword类型