Windows NT/XP/2000 and Windows 95/98/Me use different sets of API functions for enumerating processes.
There are two corresponding examples in members area on my web site:
Enumerating Processes -- WinNThttp://www.news2news.com/vfp/?example=162Set of API functions used in this example:
CloseHandle
EnumProcesses
EnumProcessModules
GetLastError
GetModuleBaseName
GetModuleFileNameEx
OpenProcessAnd another one...
Enumerating Processes -- Win9*http://www.news2news.com/vfp/?example=164Set of API functions used in this example:
CloseHandle
CreateToolhelp32Snapshot
Process32First
Process32Next