Autor Beitrag
abi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 121

Windows 2000
Delphi 5
BeitragVerfasst: Sa 09.04.05 14:59 
Hallo
ich möchte eine ComboBox haben, bei der alle CD Laufwerke angezeigt werden.

Es sollen aber keine Festplatten angezeigt werden.

abi

_________________
Die lansamste Schnecke kommt auch irgendwann an.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Sa 09.04.05 15:08 
Siehe folgende beiden Links (Omorphia Project):

cvs.sourceforge.net/...v=1.78&view=auto
ausblenden Delphi-Quelltext
1:
Function DriveType(vDrive: Char): TDriveType;					


Sowie
cvs.sourceforge.net/...v=1.19&view=auto
für die Typedefinition.

Einfach DriveType für alle Laufwerksbuchstaben einmalig aufrufen beim Befüllen. Interne Fehler werden automatisch abgefangen (WinAPI).

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Sa 09.04.05 15:24 
ich hab sowas neulich mal hier ins forum geschrieben, such mal nach shutdown disk ejector oder so ^^

edit: hier: www.delphi-forum.de/...816d52da738b12cf5196
abi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 121

Windows 2000
Delphi 5
BeitragVerfasst: Mi 13.04.05 15:32 
Danke schon mal für die Hilfe, aber leider bin ich nicht daraus schlau geworden. :crying:

Ich muss nicht wissen ob, etwas im Laufwerk drin ist. Sondern ich will nur wissen obs ein CD Laufwerk gibt, wieviele und wie sie heissen.

z.b.

HL-DT-StDVD-ROM GDR8161B
HL-DT_STCD-RW GCE-8481B

Oder ich nehme die Funktion von F34r0fTh3D4rk, dann bekomme ich alle meine CD Laufwerke mit Buchstaben angezeigt, aber leider nicht die Namen.

Mit 'CDs'.

Vielleicht kannst du mir dabei nochmal helfen. Dann kann ich noch die Namen einblenden.

Danke schon mal.

abi

_________________
Die lansamste Schnecke kommt auch irgendwann an.