<div dir="auto"><div><div class="gmail_quote"><div dir="ltr">Bo Berglund via Lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>> schrieb am Mo., 10. Sep. 2018, 15:19:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Concerning the com port name for SerOpen():<br>
<br>
{ Open the serial device with the given device name, for example:<br>
\COM1, \COM2 (strictly, \\.\COM1...) for normal serial ports.<br>
ISDN devices, serial port redirectors/virtualisers etc. normally<br>
implement names of this form, but refer to your OS documentation.<br>
Returns "0" if device could not be found }<br>
function SerOpen(const DeviceName: String): TSerialHandle;<br>
<br>
In the Wiki example they use COMx: where x is a number, but this is<br>
probably only working for single digit numbers 1..9.<br>
In any case the naming there is not described in serial.pp<br>
<br>
I need to huse a high numbered com port since all I have is USB2Serial<br>
dongles, which typically get you a port number like 29...<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Did you test it? Cause the serial unit only passes on the name to the platform's API. So \COM29 should work for a Com port with number 29.</div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>