1
function JK_XYReadGuestCard(p_csRoomNo:PChar; p_csStartTime:PChar; var p_nTimeUnit:integer; var p_nTimeLength: integer; p_nStopFlag: integer; p_csCardNo:PChar): Integer;stdcall;external '你的dll名称.dll' name 'JK_XYReadGuestCard';
cdecl 还是 stdcall 要看你c中是如何定义的