Posted on 2005-04-20
I would like to send some binary bytes ('FFEEDDCCBBAA99887766554433221100' in HEX) to COM1 to control another device.
However, the following code cannot work properly. So, what is the problem here ?
intLength:= Round(StrLen(pchSource) / 2);
HexToBin(pchSource, pchTarget, intLength);