Merge branch 'master' of http://192.168.100.140:8099/sane/code_app
This commit is contained in:
commit
fe0c555b25
|
@ -58,7 +58,7 @@ bool AppIsRun(const std::string& appName)
|
|||
HANDLE hProcess = OpenProcess(PROCESS_QUERY_INFORMATION, FALSE, pe.th32ProcessID);
|
||||
if (nullptr != hProcess)
|
||||
{
|
||||
::GetProcessImageFileNameW(hProcess, exeFullPath, 1024);
|
||||
::GetModuleFileNameExW(hProcess, NULL, exeFullPath, 1024);
|
||||
::CloseHandle(hProcess);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue