El 21/06/2017 a las 1:37, Bo Berglund escribió:

The problem I have is that it seems only to work for COM1 or COM3, as
soon as I use a higher numbered port like COM33 then it fails.
What have I missed here?
Is serial only able to work with the low numbered ports (single
digit)?

Hello,

COM ports in windows can only be 1-9, to open high numbered COM ports you must use the extended name syntax (without quotes) "\\.\COM99" you can also use "\\.\COM1" for COM1-9.


--

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to