Using CreateToolhelp32Snapshot on NT4

Posted on 1999-08-25
Medium Priority
Last Modified: 2012-05-05
I'm trying to use CreateToolhelp32Snapshot in my application. I tried to dynamically load it from kernel32.dll but it could not find the function in kernel32.dll. Does anybody have any advice on where the function might be or how to go about loading it.

Regards - Rodger.

Question by:rfaherty
  • 2
LVL 22

Accepted Solution

nietod earned 600 total points
ID: 1203185
Those functions are not part of NT (4, I think they are in 5).  You can use them only on windows 9x.

However the following link has an explanation and complete code for how to do this on both platforms


LVL 22

Expert Comment

ID: 1203186
Let me know if you have any questions.

Author Comment

ID: 1203187
Thanks, I had a look at that site and it looks like NT uses   PSAPI.DLL to provide similar functionality.

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
Suggested Courses

589 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