Thread View: borland.public.delphi.nativeapi
1 messages
1 total messages
Started by jimbo
Mon, 26 Feb 2007 08:03
usb card readers insertion/removal
Author: jimbo
Date: Mon, 26 Feb 2007 08:03
Date: Mon, 26 Feb 2007 08:03
10 lines
1682 bytes
1682 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads