HANDLE hProcess =::OpenProcess(PROCESS_ALL_ACCESS,false,5196);
char bufFullName[500]={0};
::GetModuleFileNameEx((HMODULE)hProcess,NULL,bufFullName,sizeof(bufFullName));
转载于:https://www.cnblogs.com/ahuo/archive/2009/05/06/1450893.html