Autor Beitrag
Der Michel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 38



BeitragVerfasst: Mo 18.11.02 16:26 
Hallo,

hab im FAQ etwas gefunden womit man erkannt ob eine "normale" CD eingelegt ist. Wie kann ich denn prüfen ob eine leere CDR / CDRW eingelegt ist? Dann liefert DiskSize(...) nämlich auch -1 zurück (was ja eigentlich logisch ist wenn keine Daten drauf sind), so daß ich die Funktion nicht benutzen kann.
Hat jemand eine Idee?

Gruß,
Michel
O'rallY
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 563



BeitragVerfasst: Fr 22.11.02 20:24 
Hier gibt's nutzbaren Code. Ist auch auf das Diskettenlaufwerk anwendbar. Oder willst du unterscheiden, ob eine CD-R oder eine CD-RW eingelegt ist?

_________________
.oO'rallY
Linux is like a tipi: No gates, no windows and a gnu-eating apache inside...