Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GetNetworkParams gives unsupported under Win98

1 view
Skip to first unread message

dohboy

unread,
Mar 1, 2002, 12:05:25 AM3/1/02
to
Hey Guys,
I am using the GetNetworkParams and GetAdaptersInfo API functions in VB
and under MSDN docs it says this function is supported under the
IPhlpapi.dll in win98/ME and 2k/xp.

I have tried running my program on my XP box and runs fine, but when i run
it under my win98 box it gives me ERROR_NOT_SUPPORTED.

now I checked and I have IPhlpapi.dll version 5.1.2600.2 on my XP and have
version 5.00.1952.1 on win98.

Any Ideas How I can overcome this or why it says not supported while it is
supposed to be supported?

TIA


Kallely Sajan

unread,
Mar 1, 2002, 3:19:35 AM3/1/02
to
This is a known problem with IE 5.0 + Win 98. The fix is not straight
forward. Take a look at KB Q234573
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q234573

Regards,
Sajan.

"dohboy" <doh...@linux.ca> wrote in message
news:OXqwS6NwBHA.492@tkmsftngp02...

dohboy

unread,
Mar 1, 2002, 3:30:25 AM3/1/02
to
Other than uninstalling IE and re installing 5.01 or later, isnt there
another way to update iphlpapi.dll with another version?..........say to
replace it with my XP version 5.1.2600.2 ....I mean."dll's" are supposed to
be backward compatible right?....my XP's dll should provide all the
functions that win98 would need.

Just wondering is it possible, if so, how?

8)

"Kallely Sajan" <saj...@hotmail.com> wrote in message
news:#WWIVgPwBHA.2096@tkmsftngp07...

Morpheus

unread,
Mar 1, 2002, 10:10:19 AM3/1/02
to
> Other than uninstalling IE and re installing 5.01 or later, isnt there
> another way to update iphlpapi.dll with another version?..........say to
> replace it with my XP version 5.1.2600.2 ....I mean."dll's" are supposed
to
> be backward compatible right?....my XP's dll should provide all the
> functions that win98 would need.
>
> Just wondering is it possible, if so, how?

Guess it wouldn't work because of the different os (windows and winnt).

Kallely Sajan

unread,
Mar 1, 2002, 10:39:26 AM3/1/02
to
It might not be just a matter of backward compatibility. This file might
need other newer files along with it.

Instead of copying from XP machine, you might want to install IE 5.1 on a
different computer and catch hold of the file. Then use that to replace on
other machines.

I am not sure if the License aggreement will let you redistribute the file.

Regards,
Sajan.

"dohboy" <doh...@linux.ca> wrote in message

news:eGyF1sPwBHA.1652@tkmsftngp03...

dohboy

unread,
Mar 2, 2002, 5:30:30 PM3/2/02
to
Anyone know any other way to grab network params and get adapters info using
a different method? other than GetNetworkParams and GetAdaptersInfo?

If I distribute IPhlpapi.dll with my app, would it be against License
Agreement? Even If I am not selling my app?


"Kallely Sajan" <saj...@hotmail.com> wrote in message

news:esmowcTwBHA.1512@tkmsftngp02...

Kallely Sajan

unread,
Mar 4, 2002, 11:37:25 AM3/4/02
to
As far as I know, you will be mostly stuck with this DLL. But you can use
other APIs such as GetIpAddrTable(), GetIpForwardTable() to get most of the
same deatils. But it's going to be real wild. You will need to have special
handlings for NT and 9X environments.

You might want to take a look at
http://www.codeguru.com/network/index.shtml. They have some real cool
samples out there.

Regards,
Sajan.

"dohboy" <doh...@linux.ca> wrote in message

news:e8bVGnjwBHA.816@tkmsftngp07...

dohboy

unread,
Mar 4, 2002, 6:06:54 PM3/4/02
to
Thanks Kallely,

I think I am gona write my own function to get adapters info and get network
params from the registry

and yeh....I am gona have to make it so it works on win2k and on win98

8)


"Kallely Sajan" <saj...@hotmail.com> wrote in message

news:#oWhNr5wBHA.2284@tkmsftngp07...

Randy Birch

unread,
Mar 4, 2002, 11:33:11 PM3/4/02
to
Perhaps the WMI examples at
http://www.mvps.org/vbnet/code/network/wminetworkadapterconfig.htm or
http://www.mvps.org/vbnet/code/network/wminetworkadapter.htm will do the
trick?

--

Randy Birch
MVP Visual Basic

http://www.mvps.org/vbnet/

Please respond only to the newsgroups so all can benefit.

*** If you call the Sleep API in Bill's latest, will it have .NET dreams?
***


"dohboy" <doh...@linux.ca> wrote in message

news:eoBGuE9wBHA.2020@tkmsftngp02...

dohboy

unread,
Mar 10, 2002, 8:20:31 PM3/10/02
to
THX


"Randy Birch" <r...@mvps.org> wrote in message
news:uhJYB7$wBHA.1400@tkmsftngp07...

0 new messages