BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

usb card readers insertion/removal

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Native API
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Mon Feb 26, 2007 9:11 am    Post subject: usb card readers insertion/removal Reply with quote



Using WM_DEVICECHANGE I can't get media insert/remove events from a
card reader attached to a usb port. If it matters I'm using the usb
port on the front of my machine. Is there another way to trap this
event? I have found "use RegisterDeviceNotification" but can't find
any examples on MSDN or Delphi resources. Could someone provide me an
example of how to do this. Don't misunderstand. Connection of the
device to the usb port is not the problem. MW_DEVICECHANGE handles
this fine. It is removal/insertion of the media into the card reader
connected to the usb port that I want to detect. TIA
Jim Catz
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Native API All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.