Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I find the cdrom drive?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00446679
Message ID:
00446732
Vues:
16
GetDriveType will do this.

Declare Integer GetDriveType in Win32API String

?GetDriveType("a:\") = 2
?GetDriveType("c:\") = 3
?GetDriveType("d:\") = 5 (CD ROM)

>VFP 3.0
>
>Hello All,
>
>I need to have my program find the cdrom drive on the installation
>machine and use that path to go between my program on the cdrom
>and the hard drive.
>
>Is there an api function that will accomplish this task?
>
>Thanks,
>
>Becky
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform