Online
Registriert seit: 11. Okt 2003
Ort: Elbflorenz
44.316 Beiträge
Delphi 12 Athens
|
Re: Com Port Programmierung
19. Nov 2009, 00:11
Ein Byte ist 1 Byte groß und nicht 2
Delphi-Quellcode:
Function RecieveByte(COMHandle: THandle): Byte;
Var
tmp: cardinal;
Begin
ReadFile(COMHandle, Result, 1, tmp, Nil);
End;
Ein Therapeut entspricht 1024 Gigapeut.
|