I have already send EnumProc.zip to the Win32API files section.
Description:
Enumerate Processes in Windows
for Windows 9x/NT/2000
Get a list of all running processes:
Process ID
Process Name
With the Process ID you can activate, kill, or
access additional information about the application.
Included Files:
EnumProc.dll Main DLL
PSAPI.DLL Required for Windows NT
TestDLL.prg Sample usage program
EnumProc.txt
Source.zip Visual C++ project and source for DLL
The file PSAPI.DLL is a Microsoft redistributable that must be
copied to Windows NT 'system32' directory.
In Windows NT/2000 information for some process can't be read (System,
System Idle Process, and others). In this case, the process name will
be empty and the process ID can be 0.
>>Using Microsoft Spy++ I can search for a process by either the process ID or the process module (process name). I was looking for a WinAPI function which would allow me to do this from VFP.
>>
>>Anyone know how to do this?
>>
>>Thanks,
>>Bill
>
>I forgot to mention it has to run on Windows 95,98,NT,2000.
Just an opinion... Not a fact.