NetSerialNumber() bug

NetSerialNumber() bug

Postby Marco Turco » 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
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Re: NetSerialNumber() bug

Postby Enrico Maria Giordano » Sat May 31, 2008 1:43 pm

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Marco Turco » Sun Jun 01, 2008 7: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
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Postby Antonio Linares » Sun Jun 01, 2008 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 101 guests