Temporarily disabled Updater thread creation.

This commit is contained in:
2023-11-28 17:10:07 +03:00
parent 1f8fb92dbe
commit 382428e6fa
2 changed files with 2 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
//
#include "framework.h"
#include "wCenterWindow.h"
#include "updater.h"
//#include "updater.h"
#define NO_DONATION
#define KEY_I 0x49
@@ -274,7 +274,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
logger.Out(L"%s(%d): Checking for updates is enabled, fCheckUpdates = %s", TEXT(__FUNCTION__), __LINE__, fCheckUpdates ? L"True" : L"False");
//hUpdater = CreateThread(NULL, 0, &Updater, nullptr, 0, nullptr);
hUpdater = (HANDLE)_beginthreadex(NULL, 0, &Updater, NULL, 0, &dwUpdaterID);
//hUpdater = (HANDLE)_beginthreadex(NULL, 0, &Updater, NULL, 0, &dwUpdaterID);
if (NULL == hUpdater)
{
DWORD dwLastError = GetLastError();

View File

@@ -191,12 +191,10 @@
<ClInclude Include="picojson.h" />
<ClInclude Include="resource.h" />
<ClInclude Include="targetver.h" />
<ClInclude Include="updater.h" />
<ClInclude Include="wCenterWindow.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="CLogger.cpp" />
<ClCompile Include="updater.cpp" />
<ClCompile Include="wCenterWindow.cpp" />
</ItemGroup>
<ItemGroup>