Use VS2022

Note that `_ATL_MODULES` define is now needed for compatibility with C++
conformance mode (`/permissive-`).
More details here:
https://developercommunity.visualstudio.com/t/Crash-in-ATL-CEnumerator::MoveNext-after/10116823
This commit is contained in:
ge0rdi
2022-12-22 00:21:56 +01:00
parent a784b6fdb4
commit e25b656275
44 changed files with 98 additions and 94 deletions

View File

@@ -14,6 +14,7 @@
#include <shlobj.h>
#include <shellapi.h>
#define _ATL_MODULES // compatibility with /permissive-
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
#include <atlbase.h>