nSerialHD question again

Post Reply
AHF
Posts: 837
Joined: Fri Feb 10, 2006 12:14 pm

nSerialHD question again

Post by AHF »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
AHF
Posts: 837
Joined: Fri Feb 10, 2006 12:14 pm

Post by AHF »

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

Antonio
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
AHF
Posts: 837
Joined: Fri Feb 10, 2006 12:14 pm

Post by AHF »

Thanks,

Antonio
Post Reply