Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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
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
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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 additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

721 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