TOpenCom=Function(com:integer):Integer;stdcall;
Var
; OpenCom:TOpenCom;
begin
;LibHandle:=LoadLibrary('Icdll32.dll');
;If LibHandle<=0 then
;Raise Exception.Create('{LoadLibrary Faile] GetLastError reports:'+
; ; ; ; ; ; ; ; Inttostr(GetLastError));
;@OpenCom:=GetProcAddress(LibHandle,'OpenCom');
;If OpenCom(ComNu)<>0 Then
; ;Begin
; ; ;Showmessage('端口无法打开!');
; ; ;Err_BJ;
; ; end;