Skip to content
Tcl Source Code Artifact [7784501c2b]
Login

Artifact [7784501c2b]

Artifact 7784501c2bf452765e80e087dd97be0c746ebf03:

Ticket change [7784501c2b] - Ticket [714d37c3aa71d087|714d37c3aa] <i>Cannot access COM10: and above in Windows</i> status still Open with 4 other changes by twylite on 2014-09-09 14:01:27.
D 2014-09-09T14:01:27.740
J icomment <p>"COM10:"\sis\snot\sa\svalid\sdevice\sname\sin\sWindows.\s\sAs\sexplained\sin\sthe\s<a\shref="http://msdn.microsoft.com/en-us/library/windows/desktop/aa363858(v=vs.85).aspx">MSDN\sentry\sfor\sCreateFile</a>:\s"To\sspecify\sa\sCOM\sport\snumber\sgreater\sthan\s9,\suse\sthe\sfollowing\ssyntax:\s"\\\\.\\COM10".\sThis\ssyntax\sworks\sfor\sall\sport\snumbers\sand\shardware\sthat\sallows\sCOM\sport\snumbers\sto\sbe\sspecified."</p>\r\n\r\n<p>In\sTcl\syou\shave\sto\sescape\sthose\sbackslashes,\sso\syou\swould\suse\s[open\s"\\\\\\\\.\\\\$comport"\sr+].</p>\r\n\r\n<p>The\sTcl\sdocs\sare\smisleading\sin\sthis\sregard;\sthey\ssay\s"An\sattempt\sto\sopen\sa\sserial\sport\sthat\sdoes\snot\sexist\sor\shas\sa\snumber\sgreater\sthan\s9\swill\sfail.\sAn\salternate\sform\sof\sopening\sserial\sports\sis\sto\suse\sthe\sfilename\s\\\\.\\comX,\swhere\sX\sis\sany\snumber\sthat\scorresponds\sto\sa\sserial\sport...".\s\sYou\scan\sin\sfact\sopen\sa\sserial\sport\sgreater\sthan\s9\susing\sthe\salternate\sform\s(only).</p>
J login twylite
J mimetype text/html
J username Twylite
K 714d37c3aa71d087cc35afcc59edd5667d4048db
U twylite
Z c8565b0e6a737d49081aa501d671e968