- Timestamp:
- Jun 19, 2026, 10:49:14 AM (3 days ago)
- File:
-
- 1 edited
-
trunk/BNC/src/serial/win_qextserialport.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/serial/win_qextserialport.cpp
r8204 r10939 151 151 if (!isOpen()) { 152 152 /*open the port*/ 153 Win_Handle=CreateFileA(port.toLatin1(), GENERIC_READ|GENERIC_WRITE, 153 /* the \\.\ prefix is required for COM10 and above, see Microsoft KB115831 */ 154 QString devName = "\\\\.\\" + port; 155 Win_Handle=CreateFileA(devName.toLatin1(), GENERIC_READ|GENERIC_WRITE, 154 156 FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, NULL); 155 157 if (Win_Handle!=INVALID_HANDLE_VALUE) {
Note:
See TracChangeset
for help on using the changeset viewer.
