Solved

Enum Domainnames under W95?

Posted on 1998-07-03
3
177 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

691 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