CreateFile() is successful when you use "COM1" through "COM9" for the name of the file; however, the message INVALID_HANDLE_VALUE is returned if you use "COM10" or greater.
http://support.microsoft.com/kb/115831
Removing or changing unused COM Ports from Windows.
Removing unused COM Ports from Windows
make sure start command line with administrator right.
Comments powered by CComment