Your browser does not allow scripts
Please click here to view a static table of contents without scripts

How do I open COM10 or higher under Windows XP?

Return to Introduction  Previous page  Next page

To open a COM port greater than or equal to COM10, you have to prefix the string "\\.\" to the COM port name.

 

In C it would look like this:

 

CreateFile( "\\\\.\\COM10",...)

 

because you have to escape the "\" character.