S
Steve Macha
On a Desktop running Win2000, SP3,I invoke the hotplug.dll
within my C application to stop a USB Flash Memory storage
device using "Rundll.exe shell32.dll,Control_RunDll
hotplug.dll". I get the normal MicroSoft hotplug window
when I do this, but then I get the message "The
device 'Generic volume' cannot be stopped right now. Try
stopping the device again later" appears. After repeated
retries, I finally have to abandon the effort to get a
successful stop. But if I go click on the systray unplug
icon, I am able to stop the USB device sucessfully.
This is frustrating as my application requires USB storage
insertion and removal in an environment where the systray
and Windows desktop are intended to be hidden. USB
storage devices from different manufacturers all produce
same results.
Any ideas or suggestions gratefully received...
within my C application to stop a USB Flash Memory storage
device using "Rundll.exe shell32.dll,Control_RunDll
hotplug.dll". I get the normal MicroSoft hotplug window
when I do this, but then I get the message "The
device 'Generic volume' cannot be stopped right now. Try
stopping the device again later" appears. After repeated
retries, I finally have to abandon the effort to get a
successful stop. But if I go click on the systray unplug
icon, I am able to stop the USB device sucessfully.
This is frustrating as my application requires USB storage
insertion and removal in an environment where the systray
and Windows desktop are intended to be hidden. USB
storage devices from different manufacturers all produce
same results.
Any ideas or suggestions gratefully received...