Página 1 de 1

aGetLogicalDriveStrings()

Publicado: Sab Oct 20, 2007 4:59 pm
por Xevi
No se encontrar una función que me devuelva un array con las Unidades
existentes.
En C3 utilizaba aGetLogicalDriveStrings()... pero en Xailer + xHarbour ¿?¿?
¿Alguien puede iluminarme???
Gracias.
Un Saludo,
Xevi.
Pdta.: Estoy rehaciendo mi aplicación de Contabilidad de C3 a Xailer !!! Así­
podré centrarme ya en una sola herramienta de desarrollo... Para mi, C3 ya
será historia!!!

aGetLogicalDriveStrings()

Publicado: Sab Oct 20, 2007 9:22 pm
por xAvi
Xevi escribió:
> No se encontrar una función que me devuelva un array con las Unidades
> existentes.
>
Prueba GetDrives( nType ) .-
Local aDrivers := GetDrives( DRIVE_UNKNOWN )
LogDebug( aDrivers )
Donde nType .-
Value Meaning
DRIVE_UNKNOWN The drive type cannot be determined.
DRIVE_NO_ROOT_DIR The root directory does not exist.
DRIVE_REMOVABLE The disk can be removed from the drive.
DRIVE_FIXED The disk cannot be removed from the drive.
DRIVE_REMOTE The drive is a remote (network) drive.
DRIVE_CDROM The drive is a CD-ROM drive.
DRIVE_RAMDISK The drive is a RAM disk.
Un saludo
Xavi

aGetLogicalDriveStrings()

Publicado: Dom Oct 21, 2007 12:22 am
por Xevi
xAvi,
PERFECTO!!!
Gracias.
Un Saludo,
Xevi.
"xAvi" <jarabal_eliminar_no_spam_@gmail.com> escribió en el mensaje de
noticias news:471a556c$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Xevi escribió:
>> No se encontrar una función que me devuelva un array con las Unidades
>> existentes.
>>
>
> Prueba GetDrives( nType ) .-
>
> Local aDrivers := GetDrives( DRIVE_UNKNOWN )
> LogDebug( aDrivers )
>
> Donde nType .-
>
> Value Meaning
> DRIVE_UNKNOWN The drive type cannot be determined.
> DRIVE_NO_ROOT_DIR The root directory does not exist.
> DRIVE_REMOVABLE The disk can be removed from the drive.
> DRIVE_FIXED The disk cannot be removed from the drive.
> DRIVE_REMOTE The drive is a remote (network) drive.
> DRIVE_CDROM The drive is a CD-ROM drive.
> DRIVE_RAMDISK The drive is a RAM disk.
>
> Un saludo
> Xavi