- Thread Author
- #1
Hi ALl,
Searching the forum didn't turn up anything relevant, so here goes.
I've got an MFC C++ application that uses CreateFile() to open a bluetooth device mapped to a virtual com port, and it isn't working on Windows 7 for com ports greater than 9. In fact, specifying the com port as "\\.\\Comx", causes an access violation on a different thread than what's calling CreateFile().
Anyway, has anyone else run into this, and also if there's a fix or workaround. FWIW, the app runs fine on W2k, XP & Vista.
Thanks,
--Carz
Searching the forum didn't turn up anything relevant, so here goes.
I've got an MFC C++ application that uses CreateFile() to open a bluetooth device mapped to a virtual com port, and it isn't working on Windows 7 for com ports greater than 9. In fact, specifying the com port as "\\.\\Comx", causes an access violation on a different thread than what's calling CreateFile().
Anyway, has anyone else run into this, and also if there's a fix or workaround. FWIW, the app runs fine on W2k, XP & Vista.
Thanks,
--Carz
reghakr
Essential Member
- Joined
- Jan 26, 2009
- Messages
- 14,186