mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-13 20:28:31 +10:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user