现在想个moden的拨号程序!用得是spcomm控件
现在就知道打开端口然后接着是发送at指令这边就不会了啊!
procedure TSimpleForm.TermKeyPress(Sender: TObject; var Key: Char);
begin
sio_putch(GCommData.Port,Integer(Key));
{ or use sio_write :
sio_write(GCommData.Port,@Key,1);
} Key:=Char(0);
end;
这个spcomm中的例子,在其中有很多不明白的啊!
这个里的是memo1的内容如何读到key中的呢??
现在就知道打开端口然后接着是发送at指令这边就不会了啊!
procedure TSimpleForm.TermKeyPress(Sender: TObject; var Key: Char);
begin
sio_putch(GCommData.Port,Integer(Key));
{ or use sio_write :
sio_write(GCommData.Port,@Key,1);
} Key:=Char(0);
end;
这个spcomm中的例子,在其中有很多不明白的啊!
这个里的是memo1的内容如何读到key中的呢??
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货