CnPack Forum

#1 CnModem错误报告
procedure TCnModem.Escape;
var
Tick: Integer;
begin
if CommOpened and (ModemState = msOnline) then
begin
Tick := Round(FWaitEscapeTime * 0.02 * 1.3);
Sleep(Tick);
WriteATCommand('+++', False);
Sleep(Tick);
ModemState := msOnlineCommand;
end;
end;

这里的0.02应该为20.因为下面的Sleep中的单位是毫秒。
3/28 10:08
zj_yqj

#2
..

#1 >>Next Page

Forum:CnVCL 组件包
Thread:CnModem错误报告
Next Thread:[BUG?]TCnEdit

Home
Login

Powered by Discuz!