PC Review


Reply
Thread Tools Rate Thread

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

 
 
kmr_malhotra@yahoo.com
Guest
Posts: n/a
 
      4th Nov 2008
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
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not 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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Associating USB device with generic print driver (Virtual USB printer port) Alan Morris [MSFT] Windows Vista Print / Fax / Scan 0 21st Jul 2008 06:34 PM
Win2003 virtual server print driver not failing over Microsoft Windows 2000 Printing 0 15th Feb 2005 09:47 PM
USB001 Virtual printer port vs USB002 Local port vs USB003 Virtual printer port ???? BobLeavitt Windows XP Print / Fax 1 26th Sep 2004 05:12 AM
Virtual device driver failing Bass Windows XP Drivers 0 9th Jul 2004 08:32 AM
PDA virtual serial port driver pepi Windows XP Drivers 0 19th Feb 2004 11:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:43 AM.