[Worker] Change console title

This commit is contained in:
momo5502 2017-01-28 12:39:20 +01:00
parent 25fbd00c52
commit 0d5ce55b54
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ namespace Worker
void Runner::run()
{
printf("Attaching to parent process %d...\n", this->processId);
HANDLE processHandle = OpenProcess(SYNCHRONIZE, FALSE, this->processId);
if (!processHandle || processHandle == INVALID_HANDLE_VALUE)
{

View File

@ -21,7 +21,7 @@ namespace Worker
else
{
#ifdef DEBUG
SetConsoleTitleA("IW4x Worker");
SetConsoleTitleA("IW4x: Worker");
#else
FreeConsole();
#endif