CINFTBL 未知, 剩下的改好了.
function hst_open(chno: LongInt; var _inittbl: INITTBL): Integer cdecl {$IFDEF WIN32} stdcall {$ENDIF};
function hst_idtblclr : Integer cdecl {$IFDEF WIN32} stdcall {$ENDIF};
function hst_idtbladd(iddata : string) :Integer cdecl {$IFDEF WIN32} stdcall {$ENDIF} ;
function hst_open(chno : LongInt, var _initab : INITTBL) : Integer cdecl {$IFDEF WIN32} stdcall {$ENDIF};
function hst_close : Integer cdecl {$IFDEF WIN32} stdcall {$ENDIF};
function hst_polling (recno : LongInt, ioboxno : LongInt) : Integer cdecl {$IFDEF WIN32} stdcall {$ENDIF};
function hst_idtblgetidno : Integer cdecl {$IFDEF WIN32} stdcall {$ENDIF};
function hst_getcinffirst(var inftab : CINTFTBL): Integer cdecl {$IFDEF WIN32} stdcall {$ENDIF};
function hst_getcinfnext(var inftab : CINFTBL) : Integer cdecl {$IFDEF WIN32} stdcall {$ENDIF};
function hst_filerecv(pname : String, var inftab : CINFTBL) : Integer cdecl {$IFDEF WIN32} stdcall {$ENDIF};
function hst_filesend(pname : String, var inftab : CINFTBL) : Integer cdecl {$IFDEF WIN32} stdcall {$ENDIF};
function hst_disconnect(mode : LongInt, var inftab : CINFTBL) : Integer cdecl {$IFDEF WIN32} stdcall {$ENDIF};
function hst_idtblgetid(recno : LongInt, iddata : String) : Integer cdecl {$IFDEF WIN32} stdcall {$ENDIF};
implementation
function hst_open; external 'hostcm32.dll';
function hst_idtblclr;external 'hostcm32.dll';
function hst_idtbladd;external 'hostcm32.dll';
function hst_open;external 'hostcm32.dll';
function hst_close;external 'hostcm32.dll';
function hst_polling;external 'hostcm32.dll';
function hst_idtblgetidno;external 'hostcm32.dll';
function hst_getcinffirst;external 'hostcm32.dll';
function hst_getcinfnext;external 'hostcm32.dll';
function hst_filerecv;external 'hostcm32.dll';
function hst_filesend;external 'hostcm32.dll';
function hst_disconnect;external 'hostcm32.dll';
function hst_idtblgetid;external 'hostcm32.dll';