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>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile> <ClCompile>
<WarningLevel>Level4</WarningLevel> <WarningLevel>EnableAllWarnings</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking> <FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions> <IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck> <SDLCheck>true</SDLCheck>

View File

@ -2,6 +2,7 @@
#include <chrono> #include <chrono>
#include <Dwmapi.h> #include <Dwmapi.h>
#pragma comment(lib, "dwmapi.lib") #pragma comment(lib, "dwmapi.lib")
#pragma warning(disable : 4996)
const MARGINS margins = { -1 ,-1, -1, -1 }; const MARGINS margins = { -1 ,-1, -1, -1 };
const wchar_t g_szClassName[] = L"overlay"; const wchar_t g_szClassName[] = L"overlay";
@ -103,4 +104,4 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
exit(0); exit(0);
return Msg.wParam; return Msg.wParam;
} }