diff --git a/Overlay/Overlay.vcxproj b/Overlay/Overlay.vcxproj index 815a453..48069a3 100644 --- a/Overlay/Overlay.vcxproj +++ b/Overlay/Overlay.vcxproj @@ -112,7 +112,7 @@ - Level4 + EnableAllWarnings true true true diff --git a/Overlay/main.cpp b/Overlay/main.cpp index c140a80..9053674 100644 --- a/Overlay/main.cpp +++ b/Overlay/main.cpp @@ -2,6 +2,7 @@ #include #include #pragma comment(lib, "dwmapi.lib") +#pragma warning(disable : 4996) const MARGINS margins = { -1 ,-1, -1, -1 }; const wchar_t g_szClassName[] = L"overlay"; @@ -103,4 +104,4 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine exit(0); return Msg.wParam; -} \ No newline at end of file +}