1
0
Fork 0
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:
Brian Fiete 2024-07-24 09:41:08 +02:00
parent fd3bd861ae
commit 8052066ab0
18 changed files with 423 additions and 41 deletions

View file

@ -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);