Solved

CreateToolHelp32Snapshot Problems

Posted on 1998-08-07
3
284 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Getting IP address 8 71
Excel/Word Add-in in what language? 5 107
How to copy an image file into clipboard C/C++? 1 151
Embarcadero WebBroker REST server endpoint parameters 2 53
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
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.

932 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

13 Experts available now in Live!

Get 1:1 Help Now