Hi,
how to get the process ID and handle of a process by its name in win32(windows-mobile). i mean if i pass the process name i should get id.. how to do this..
Thanks in advance.
Hi,
how to get the process ID and handle of a process by its name in win32(windows-mobile). i mean if i pass the process name i should get id.. how to do this..
Thanks in advance.
Use CreateToolhelp32Snapshot(), following with Process32First() and the related functions, following the general idea in the code sample. The Process32... functions provide PROCESSENTRY32 for each process, which contains the Process ID.