fix
This commit is contained in:
Vladimir Golubev 2023-03-12 19:32:03 +03:00
parent f8ac828493
commit e5eb712517
2 changed files with 3 additions and 2 deletions

View File

@ -112,7 +112,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<WarningLevel>EnableAllWarnings</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>

View File

@ -2,6 +2,7 @@
#include <chrono>
#include <Dwmapi.h>
#pragma comment(lib, "dwmapi.lib")
#pragma warning(disable : 4996)
const MARGINS margins = { -1 ,-1, -1, -1 };
const wchar_t g_szClassName[] = L"overlay";