Windows 7 CreateFile failing on Com ports greater than 9

CarzKaan

New Member
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
 
Carz,

Hello and welcome.

I don't mean to brush you off, but I would suggest you post this under the scripting and programming section.

Link Removed due to 404 Error
 
Back
Top