Windows 7 CreateFile failing on Com ports greater than 9

#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
 


This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.
Top