Article View: borland.public.cppbuilder.nativeapi
Article #9455NetServerGetInfo() issues with Win98
From: nicolasr
Date: Thu, 08 Jul 2004 12:51
Date: Thu, 08 Jul 2004 12:51
28 lines
1568 bytes
1568 bytes
Hi, I try to use the NetServerGetInfo() API to find out what Windows versions are installed on computers in my test network (2 machines, WinXP/98). The program is only supposed to run on XP ! But it should be able to query older systems, Win98 at least. Querying the XP machine itself it works well and returns the full level 102 information structure. Querying the 98 machine over the LAN does not work. I always get: 2351 NERR_InvalidComputer (for the servername parameter I tried the computername as well as its IP) When I use a computer name of a non-existing machine I get, however: 53 ERROR_BAD_NETPATH What could be wrong? And ist querying Win98/95 machines possible at all? thanks for any idea, Nick
Technical Details
Message-ID:
<40ed435a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,542c24ae430378d8,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: NetServerGetInfo() issues with Win98 Date: Thu, 8 Jul 2004 14:51:34 +0200 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 80.133.173.180 Message-ID: <40ed435a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1089291098 80.133.173.180 (8 Jul 2004 05:51:38 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail