nSerialHD question again

nSerialHD question again

Postby AHF » Thu Jan 31, 2008 10:08 am

Hi,

Calling nSerailHd() without any parametyers :

Is it garantee that nHserialHd always return a number ?

If the PC doesn't has any hard disk what it returns ?

If the PC has more than one hard disk ?

Regards
Antonio
AHF
 
Posts: 838
Joined: Fri Feb 10, 2006 12:14 pm

Postby Antonio Linares » Thu Jan 31, 2008 10:18 am

Antonio,

> Is it garantee that nHserialHd always return a number ?

It should

> If the PC doesn't has any hard disk what it returns ?

How did the PC boot then ? Using a CD/DVD or pendrive or network ?
We have not tested it with no HD on the PC.

> If the PC has more than one hard disk ?

You can specify the drive to check: nSerialHD( "D:\" )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby AHF » Thu Jan 31, 2008 11:19 am

But what it would be the returned value if the OC doesn't has any hard dislk ?

Antonio
AHF
 
Posts: 838
Joined: Fri Feb 10, 2006 12:14 pm

Postby Antonio Linares » Thu Jan 31, 2008 11:57 am

Antonio,

We don't know it for sure (zero?) You may use Empty( nSerialHD() ) to check for an empty value.

We have never tested it without an available HD
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby AHF » Thu Jan 31, 2008 12:32 pm

Thanks,

Antonio
AHF
 
Posts: 838
Joined: Fri Feb 10, 2006 12:14 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Horizon and 71 guests