Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ToolHelp for WindowsNT?

Posted on 1998-12-10
7
Medium Priority
?
237 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 100 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

886 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