S s_scorpio Unregistered / Unconfirmed GUEST, unregistred user! 2000-09-22 #1 各位高手, 请问怎样才能对com口发送16进制的FD,另外如何接收, 妹这厢有礼了
C clyin Unregistered / Unconfirmed GUEST, unregistred user! 2000-09-22 #2 var hcomm: Integer; buf: PChar; written: Integer; begin hcomm := CreateFile('COM1', ...); buf[0] := $FD; WriteFile(hcomm, buf, 1, @written, nil); ... end; 接收用ReadFile,用控件更简单。
var hcomm: Integer; buf: PChar; written: Integer; begin hcomm := CreateFile('COM1', ...); buf[0] := $FD; WriteFile(hcomm, buf, 1, @written, nil); ... end; 接收用ReadFile,用控件更简单。
H hujunyi Unregistered / Unconfirmed GUEST, unregistred user! 2000-10-02 #4 如果你对clyin的解答不满意的话,大可以去下载一个串口通讯的控件.