CreateFile API failing with virtual COM port driver created withusbser.sys

Posted: 11-04-2008, 10:55 AM
Hello there,

We developing virtual COM port driver. (For the purpose : We have a
legacy application that outputs only to COM port and a usb hardware
device). We are using "usbser.sys" as virtual COM port driver. We are
able to install the driver successfully.

But when we use APIs like CreateFile etc with the created COM port.,
the APIs fail with GetLastError reporting 2(system can not find
specified path). Also if i see device manager -> Ports (COM & LPT)
section, the virtual COM driver is listed with an exclaimation mark
with below error,-

"This device can not start (Code 10)"

Also on other test machine it shows error like below,-

"Windows cannot load the device driver for this hardware. The driver
may be corrupted or missing. (Code 39)"

Anybody has inputs on this ? Thanks in advance!

Vijay
Reply With Quote

Responses to "CreateFile API failing with virtual COM port driver created withusbser.sys"

 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Associating USB device with generic print driver (Virtual USB printer port) mindy1701 Windows Vista Printers & Scanners 1 07-21-2008 06:34 PM
Create virtual port serie and map bluetooth device to this port Jérôme MATHIEU Windows XP Device Drivers 0 10-11-2004 11:13 AM
USB001 Virtual printer port vs USB002 Local port vs USB003 Virtual printer port ???? BobLeavitt Windows XP Printers / Scanners / Fax 1 09-26-2004 05:12 AM
Virtual device driver failing Bass Windows XP Device Drivers 0 07-09-2004 08:32 AM
PDA virtual serial port driver pepi Windows XP Device Drivers 0 02-19-2004 11:10 AM