Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Process search function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00317804
Message ID:
00318481
Vues:
12
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform