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

ToolHelp for WindowsNT?

Posted on 1998-12-10
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. :-)
Question by:lortega
  • 4
  • 2
LVL 15

Accepted Solution

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
LVL 15

Expert Comment

ID: 1417063

Expert Comment

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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.


Author Comment

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 ?
LVL 15

Expert Comment

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


Expert Comment

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.
LVL 15

Expert Comment

ID: 1417068
PViewer uses Performance API

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

856 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