>This work for 95/98/NT4/2000 (According to the docs :-)):
>
Does not work in NT - read the MSDN, and you'll find that CreateToolhelpSnapshot is not supported in these environments.
Requirements
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later.
Windows CE: Requires version 2.0 or later.
Header: Declared in tlhelp32.h.
Library: Use kernel32.lib.