帮忙转换一下C++写的DLL的delphi 调用函数!!!急(100)

  • 主题发起人 主题发起人 lqcxx
  • 开始时间 开始时间
L

lqcxx

Unregistered / Unconfirmed
GUEST, unregistred user!
帮忙转换一下C++写的DLL的delphi 调用函数!!!急 1、HANDLE _stdcall Open_Com(char* cPort,int nType);2、unsigned int _stdcall Close_Com(HANDLE hPort);3、unsigned int _stdcall Set_UserPort(BYTE NAD);4、unsigned long _stdcall GetaCount(HANDLE hPort, char* cErrMsg);5、unsigned int _stdcall Load(HANDLE hPort,unsigned char DLKindex,long nAmount,char* cDateTime,char* cErrMsg);
 
1、function Open_Com(cPort: Pchar
nType: integer): THandle;stdcall;2、function Close_Com(hPort: THandle): word;stdcall;3、function Set_UserPort(NAD: Byte): word;stdcall;4、function GetaCount(hPort: THandle
cErrMsg: Pchar): Longint;stdcall;5、function Load(hPort: THandle
DLKindex: Byte
nAmount: Longint
cDateTime, cErrMsg: Pchar): word;stdcall;
 
........stdcall ;external 'aa.dll'
 
1、function Open_Com(cPort:char;nType:integer):THandle;stdcall;2、function Close_Com(hPort:THandle):integer;stdcall;3、function Set_UserPort(NAD:BYTE):integer;stdcall;4、function GetaCount(hPort:THandle
cErrMsg:pchar):LongInt;stdcall;5、function Load(hPort:THandle;DLKindex:Char;nAmount:LongInt;cDateTime:pchar;cErrMsg:pchar):integer
stdcall;
 
http://www.drbob42.com/tools/headconv.htm
 
后退
顶部