Solved

CreateToolHelp32Snapshot Problems

Posted on 1998-08-07
3
286 Views
Last Modified: 2012-05-04
I'm trying to Implement the CreateToolHelp functions under windows NT and I'm having some problems.  The procedure is not being found in the Kernel32.dll where the functions are supposed to reside.  I've used most of the code verbatum from the C++ help, which compiles and links fine, but the modual won't load.  I see some comments about NT in the Help, but not much documentation.  Do these functions not work at all under NT, or is something wrong with the calls?  Anyone used this kit before?  I know there is someway to do it as there are Q-Slice and PViewer for NT which both do amost exactly what I'm trying to do.
0
Comment
Question by:bequette
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 100 total points
ID: 1169605
For Windows NT, Tool Help Functions are only supported by version 5.0 or later. Use PSAPI instead. See
HOWTO: Enumerate Applications in Win32
http://support.microsoft.com/support/kb/articles/q175/0/30.asp
0
 
LVL 23

Expert Comment

by:chensu
ID: 1169606
0
 
LVL 1

Author Comment

by:bequette
ID: 1169607
The Code in http://www.codeguru.com/misc/win32proc.shtml helped, thanks
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

803 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