Solved

Enum Domainnames under W95?

Posted on 1998-07-03
3
157 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sumNumber challenge 16 122
string initialization in java 11 113
sumHeights  challenge 17 70
Making an alias 7 93
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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 …
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

816 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now