PDA

Click to See Complete Forum and Search --> : Tasks list


Tonatiuh
Jun 1st, 2000, 10:59 PM
I'm using the 'CreateToolhelpSnapshot' API in 'Kernel32' to get the process currently in Tasks List. But it givs me an error in Win NT. In Win95 works fine.

Runt-Time error '453'
Can not find DLL point CreateToolhelpSnapshot in Kernel32.

How can I solve this problem? Is there any other way to get the process/apps currently in Tasks List?

Any idea will be deeply appreciated. Thanks!

Stevie-O
Jun 2nd, 2000, 12:00 AM
If you read any documentation (i.e. MSDN) or any of the various tutorials floating around, you'll learn that CreateToolhelp32Snapshot() and its friends don't exist in the Windows NT kernel. I believe there is an example of how to do this at http://www.thescarms.com/. If I recall correctly, it tells you how to make your program work under both NT and 9x kernels :)