HOWTO: ????? ???? ?? COM9 ??????? ?????????

?????? ????????? ?????? ?????????
???? ???????: 115831 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

??????

???? ??????? CreateFile() ?????? ??? ???? ??? ???? ??????. "?????? Win32 ?????????" ????? "CreateFile()" ???? ?????? ?? ??? ?????? ??? ?? ???? 0 ??? ?? ???? ??????? ????? OPEN_EXISTING ? ??? ?? ???? ?????? ??????? NULL.

???? ???? CreateFile() ??? ??????? "COM1" ??? "COM9" ??? ?????; ??? ???? ???????
invalid_handle_value
??? ????? ??? ??????? "COM10" ?? ????.

??? ?? ??? ????? ?????? \\.\COM10 ?????? ????? ?????? ???? ?????? ?? ??????? CreateFile() ??? ???:
   CreateFile(
      "\\\\.\\COM10",     // address of name of the communications device
      fdwAccess,          // access (read-write) mode
      0,                  // share mode
      NULL,               // address of security descriptor
      OPEN_EXISTING,      // how to create
      0,                  // file attributes
      NULL                // handle of file with attributes to copy
   );

				
?????????: ???? ?????? ??? ???? ????? ????? COM1 ???? COM9. ??? ????? ??? ???? ?? ??????? ?????? ????? ?????. ???? ?????? ??? ???? ??? ???????.

???????

???? ???????: 115831 - ????? ??? ??????: 20/????/1426 - ??????: 3.3
????? ???
  • Microsoft Win32 ????? ????? ???????, ????? ?????? ??:
    • Microsoft Windows 95
    • Microsoft Windows 98 Standard Edition
    • the operating system: Microsoft Windows 2000
    • Microsoft Windows Millennium Edition
    • Microsoft Windows NT 4.0
    • the operating system: Microsoft Windows XP
????? ??????: 
kbmt kbapi kbcommport kbhowto kbkernbase kbserial KB115831 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????115831

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com