Solved

Enum Domainnames under W95?

Posted on 1998-07-03
3
160 Views
Last Modified: 2013-11-19
I would like to get a list of all the domainnames in a windows network (NT servers) from Windows 95 workstations.

Is NetWkstaGetInfo or WNetEnumResource the correct methode? If yes, how to obtain the domainlist? Or do I need to take a different approach? If you have an example it would be great.
0
Comment
Question by:xtreeman
  • 2
3 Comments
 
LVL 8

Expert Comment

by:trestan
ID: 1318706
The function is right one to get network information. They use Unicode as parameter, so work on NT only. You need server operator privilege to execute them. To compile a program, Unicode programming knowledge is needed.
0
 
LVL 8

Accepted Solution

by:
trestan earned 100 total points
ID: 1318707
Check out WNetOpenEnum function. There are some examples on:
http://www.mvps.org/win32/network/
I would like to debug your codes if you have further questions.
0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1318708
Bought This Question.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Doc'in system (example?) BA 7 116
building a service to accessed via telnet client, want colors ? 4 94
Fibonacci challenge 11 133
Is there a simple front-end menu system. 9 105
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question