Solved

ToolHelp for WindowsNT?

Posted on 1998-12-10
7
205 Views
Last Modified: 2013-12-04
Yes, toolhelp don't work in NT but, I need some sample of how to retreive the list of current process and its extended information (handle,thread,etc)...

note: Pascal samples prefered, but C/C++ are accepted. :-)
0
Comment
Question by:lortega
  • 4
  • 2
7 Comments
 
LVL 15

Accepted Solution

by:
NickRepin earned 50 total points
ID: 1417062
Download Windows Platfrom SDK from MS site.
You need in two self-exctracting exes: winbase.exe and sdktool.exe.
There is sample you looking for in samples\sdktools\winnt\pviewer
0
 
LVL 15

Expert Comment

by:NickRepin
ID: 1417063
0
 
LVL 1

Expert Comment

by:shrif
ID: 1417064
toolhelp32 isn't available under nt today, but will be in nt 5.  In the meantime, you'll need to use psapi.dll
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 2

Author Comment

by:lortega
ID: 1417065
NickRepin, it is necesary for me to download over 20Mb and then find the answer, just to know how to retreive the list of current process in Windows NT ?
0
 
LVL 15

Expert Comment

by:NickRepin
ID: 1417066
NO! As I said, you need only in http://msdn.microsoft.com/developer/sdk/sdktools.htm (sdktools.exe) and, if sdktools will not extract alone,
http://msdn.microsoft.com/developer/sdk/bldenv.htm (bldenv.exe).
If I'm not wrong, they are much less than 20 MB


0
 
LVL 1

Expert Comment

by:shrif
ID: 1417067
Get a list of processes has not always been easy, although you may think that it should be.  The official way used to be to go through the performance registry.  Now, PSAPI (or toolhelp32 under 95 and NT5) is used.
0
 
LVL 15

Expert Comment

by:NickRepin
ID: 1417068
PViewer uses Performance API
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

861 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

25 Experts available now in Live!

Get 1:1 Help Now