🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16654

GetNetworkParams refresh problem on Win98 even with dll reloading

#16654
From: Adam Babil
Date: Sat, 03 May 2003 15:22
14 lines
1478 bytes
I saw that GetNetworkParams have some refresh problem on Win98
and that it was suggested to load and unload dynamically the
library [LoadLibrary("iphlpapi")] for each call of
GetNetworkParams.

This helps a lot but I still have a refresh problem on Win98.

When the PC has an Ethernet network adapter with a DNS server
configured in its TCP/IP properties (192.168.0.1),
GetNetworkParams will only retrieve this DNS server, even
when there's a working dial-up Internet connection ...

Any idea ?
Thanks
Technical Details
Message-ID: <3eb3debf$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,ba0449122191ec82,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-03 08:36:01 PST
From: "Adam Babil" <adam.babil@freefax.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: GetNetworkParams refresh problem on Win98 even with dll reloading
Date: Sat, 3 May 2003 17:22:25 +0200
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 80.11.240.16
Message-ID: <3eb3debf$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1051975359 80.11.240.16 (3 May 2003 08:22:39 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail