FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour NetSerialNumber() bug
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
NetSerialNumber() bug
Posted: Sat May 31, 2008 11:47 AM

Hi,
calling this function a msginfo series appairs before return the value.
I am using the last FWH version.

Any ideas ? Thanks.

Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: NetSerialNumber() bug
Posted: Sat May 31, 2008 01:43 PM

Remove the MsgInfo()s from source\winapi\netapi32.prg.

EMG

Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
NetSerialNumber() bug
Posted: Sun Jun 01, 2008 07:56 AM

I did, but this function always return a "000000" string (on a Vista OS).
Could you pls. confirm the return value on your system ?

Thanks.

Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
NetSerialNumber() bug
Posted: Sun Jun 01, 2008 08:37 AM

Marco,

You may use MsgInfo( GetNetCardId() ) instead.

GetNetCardId() will return an array, instead of a string, if there are several network adapters in the computer

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion