Solved

ToolHelp for WindowsNT?

Posted on 1998-12-10
7
228 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
[X]
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
  • 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access 2010 subforms in a form, not showing scrollbars 7 73
Visual Studio Debugging 3 166
Need to impress with my knowledge of .NET 5 104
Recommendation vb6 to vb.net or others 14 241
This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

752 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