mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Added "Keep Native Console Open" option
This commit is contained in:
parent
fd3bd861ae
commit
8052066ab0
18 changed files with 423 additions and 41 deletions
|
@ -1500,7 +1500,7 @@ BFP_EXPORT void BFP_CALLTYPE BfpProcess_GetProcessName(BfpProcess* process, char
|
|||
OUTRESULT(BfpProcessResult_UnknownError);
|
||||
return;
|
||||
}
|
||||
WCHAR wName[MAX_PATH];
|
||||
WCHAR wName[MAX_PATH] = { 0 };
|
||||
::GetModuleFileNameExW(hProc, NULL, wName, MAX_PATH);
|
||||
::CloseHandle(hProc);
|
||||
String name = UTF8Encode(wName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue