PC Review


Reply
Thread Tools Rate Thread

CreateFile() and usb

 
 
mike
Guest
Posts: n/a
 
      16th Sep 2006
I have several programs that access a particular printer port using
CreateFile() and have problems when 2 programs open the port at the same
time (sometimes i forget to close one).
CreateFile() does not throw an error when a usb port is currently in use as
it does with COM ports. Is there a way to detect if a usb port is in use?

Thanks


 
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
About CreateFile on vista? =?gb2312?B?wO66o7H1?= Windows Vista Security 1 10th Nov 2007 05:23 PM
MRxSmb CreateFile() Vitaly S. Windows XP Embedded 0 28th Sep 2005 01:00 PM
CreateFile JLW Microsoft C# .NET 4 9th Jun 2004 04:43 PM
vb.net's CreateFile Stephen Remde Microsoft VB .NET 8 10th Nov 2003 12:24 PM
Re: USB and CreateFile Rob Microsoft Windows 2000 0 3rd Sep 2003 11:04 AM


Features
 

Advertising
 

Newsgroups
 


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