hidden hit counter
Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

CreateFile API failing with virtual COM port driver create..

 
   Soft32 Home -> Windows -> Device Driver RSS
Next:  Turn OFF permissions.  
Author Message
kmr_malhotra

External


Since: Nov 04, 2008
Posts: 1



(Msg. 1) Posted: Tue Nov 04, 2008 2:55 am
Post subject: CreateFile API failing with virtual COM port driver created with
Archived from groups: microsoft>public>windowsxp>device_driver>dev (more info?)

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
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How to find out how much Power (electric current) Device c.. - Hi, please can someone have a look at this question:..

Installing a virtual modem via INF - Hello guys, I'm trying to install a virtual modem to Win2k and WinXP via an INF file but it fails. The INF file..

Help about driver - Hi at all.... i'm not a developer but i wanna ask an help about my notebook and some driver... I have a Compaq..

how to ignore "Continue Anyway" while installing virtual w.. - Hi all, I try to write a virtual webcam by WDM. While installing on XP , the Installing Hardware dialog appear and..

WinXP 64-bit Virtual DMA_ADAPTER - Hi, I have a virtual bus driver over a USB bus. In this driver, I want to intercept the GUID_BUS_INTERFACE_STANDARD so...

Printer Driver - I am new to device drivers for Windows. I need clarifications on the following: 1. Is a printer driver a UMDF or KMDF...
       Soft32 Home -> Windows -> Device Driver All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
  Windows
 Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]