🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages Started by Russell Henthorn Tue, 10 Jul 2007 18:34
Eject USB drive
#1645
Author: Russell Henthorn
Date: Tue, 10 Jul 2007 18:34
8 lines
1131 bytes
How can I eject a USB flash drive through my application?
I want to be able to confirm the media was ejected before terminating my 
program.

Thanks in advance for any information.


Russell 
Re: Eject USB drive
#1552
Author: Damon Chandler (TeamB)
Date: Wed, 11 Jul 2007 15:49
25 lines
1376 bytes
Hi Russell,

Never tried this myself, but have a look at the following HOWTO...

http://support.microsoft.com/kb/165721

Cheers,
--
Damon Chandler (TeamB)
C++Builder Developer's Journal
http://bcbjournal.com
http://bcbjournal.org


Russell Henthorn wrote:
> How can I eject a USB flash drive through my application?
> I want to be able to confirm the media was ejected before terminating my 
> program.
> 
> Thanks in advance for any information.
> 
> 
> Russell 
> 
> 
Re: Eject USB drive
#1560
Author: Michael Gillen
Date: Thu, 12 Jul 2007 20:28
19 lines
1252 bytes
Damon Chandler (TeamB) wrote:

> Hi Russell,
> 
> Never tried this myself, but have a look at the following HOWTO...
> 
> http://support.microsoft.com/kb/165721
> 
> Cheers,

FYI,

That code does not work properly for USB drives - at least in XP.
It does eject CD's though.

-- 
-Michael Gillen
Hollister, CA
UTC/GMT -7
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