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
36 lines
788 B
C
36 lines
788 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
|
|
|
|
#include "targetver.h"
|
|
|
|
#define STRICT_TYPED_ITEMIDS
|
|
// Windows Header Files:
|
|
#include <windows.h>
|
|
#include <commctrl.h>
|
|
#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>
|
|
#include <atltypes.h>
|
|
#include <atlstr.h>
|
|
#include <atlwin.h>
|
|
|
|
#ifdef BUILD_SETUP
|
|
#define INI_PATH L""
|
|
#define DOC_PATH L""
|
|
#else
|
|
#define INI_PATH L"..\\"
|
|
#define DOC_PATH L"..\\..\\Docs\\Help\\"
|
|
#endif
|
|
|
|
#include "StringUtils.h"
|
|
#include "TrackResources.h"
|
|
#include "Assert.h"
|