Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.73K
1 Posted Topic
Thank you for this compact fuction which i was looking for [QUOTE=nucleon;818550]Here's one way to find the PID from the exe filename. [code] #include <windows.h> #include <tlhelp32.h> DWORD PID_from_EXE (char *exe_name) { DWORD ret = 0; PROCESSENTRY32 pe32 = {sizeof (PROCESSENTRY32)}; HANDLE hProcSnap = CreateToolhelp32Snapshot (TH32CS_SNAPPROCESS, 0); if (hProcSnap == …
The End.
anjana.ananth