Solved

ToolHelp for WindowsNT?

Posted on 1998-12-10
7
191 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
Comment Utility
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
Comment Utility
0
 
LVL 1

Expert Comment

by:shrif
Comment Utility
toolhelp32 isn't available under nt today, but will be in nt 5.  In the meantime, you'll need to use psapi.dll
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 2

Author Comment

by:lortega
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
PViewer uses Performance API
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

772 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

15 Experts available now in Live!

Get 1:1 Help Now