mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-11 17:37:22 +10:00
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
31 lines
652 B
C++
31 lines
652 B
C++
// stdafx.h : include file for standard system include files,
|
|
// or project specific include files that are used frequently,
|
|
// but are changed infrequently
|
|
|
|
#pragma once
|
|
|
|
#ifndef STRICT
|
|
#define STRICT
|
|
#endif
|
|
|
|
#include "targetver.h"
|
|
|
|
#define _ATL_APARTMENT_THREADED
|
|
#define _ATL_NO_AUTOMATIC_NAMESPACE
|
|
#define _ATL_MODULES // compatibility with /permissive-
|
|
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
|
|
|
|
#include "resource.h"
|
|
#include <atlbase.h>
|
|
#include <atlcom.h>
|
|
#include <atlctl.h>
|
|
#include <atlstr.h>
|
|
|
|
using namespace ATL;
|
|
|
|
#ifdef BUILD_SETUP
|
|
#define INI_PATH L""
|
|
#else
|
|
#define INI_PATH L"..\\"
|
|
#endif
|