FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour nSerialHD question again
Posts: 838
Joined: Fri Feb 10, 2006 12:14 PM
nSerialHD question again
Posted: 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

Regards

Antonio H Ferreira
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
nSerialHD question again
Posted: 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
Posts: 838
Joined: Fri Feb 10, 2006 12:14 PM
nSerialHD question again
Posted: 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

Regards

Antonio H Ferreira
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
nSerialHD question again
Posted: 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
Posts: 838
Joined: Fri Feb 10, 2006 12:14 PM
nSerialHD question again
Posted: Thu Jan 31, 2008 12:32 PM

Thanks,

Antonio

Regards

Antonio H Ferreira

Continue the discussion