Board index » delphi » Try to read from serial port
Matthias Stübner
![]() Delphi Developer |
Thu, 20 May 2004 01:25:01 GMT
Try to read from serial port
Hallo @ all,
I write and try to read from the serial port with the If I close the program and open the (ugly) Hyperterm to enter ---- Source Begin ---- s := Edit1.Text; WriteFile(hComm, s, Length(s), Len, nil); ol.hEvent := CreateEvent(nil, False, False, nil); if (Eventm and EV_RXCHAR = EV_RXCHAR) then if(Eventm and EV_RXCHAR = EV_RXCHAR) then ---- Source End ---- Anybody any idea?? Thanx in advance. (Win2k, SP2, Delphi 6 Trial) -- |