Autor Beitrag
Mindforce
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 358

Win XP Pro / MCE, Win 98, Slax (Linux)
Delphi 07 PRO, Delphi 3+7 (mit Prdx)
BeitragVerfasst: Di 04.09.07 15:25 
Hallo Leute,

ich habe die SF benutzt aber nichts passendes zu diesem Thema gefunden.

Undzwar würde ich gerne in meinem Programm (Delphi natürlich :P) eine USB Stcik auswerfen Funktion haben die das Laufwerk "E" auswirft.
Kann mir dabei jemand helfen?

Mf

_________________
Our force; in mind.
hathor
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 04.09.07 15:51 
RemoveDrive V1.50 - prepares removable drives for save removal
Freeware by Uwe Sieber - www.uwe-sieber.de

www.codeproject.com/...oveDriveByLetter.asp

Works under Window 2000, XP, Server 2003 and Vista only.

Usage:
RemoveDrive DriveSpec: [-l][-h][-w:nnnn]

DriveSpec: is the drive to remove, e.g. U:
[-l] loop until success
[-h] show open handles (admin rights required, exprimental, may freeze!)
[-w:nnnn] wait nnnn milliseconds before close
[-d] show debug information

or

RemoveDrive "DeviceName" [-l]

DeviceName is the name of the device e.g. "Corsair Flash Voyager USB Device"
or short "Corsair Flash Voyager" as shown in the 'safe removal' dialog

No admin rights required :-)

Wie man das mit DELPHI startet, ist Dir sicher bekannt.
Calculon
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 676

Win XP Professional
Delphi 7 PE, Delphi 3 PRO
BeitragVerfasst: Di 04.09.07 15:53 
Hier au nochmal 'n Link...