Skip to content

Instantly share code, notes, and snippets.

@sailfish009
Created February 26, 2018 10:48
Show Gist options
  • Save sailfish009/581f0fabfece6dbd75c64b7988786352 to your computer and use it in GitHub Desktop.
Save sailfish009/581f0fabfece6dbd75c64b7988786352 to your computer and use it in GitHub Desktop.
#ifndef _SECURE_ATL
#define _SECURE_ATL 1
#endif
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN
#endif
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
#define _AFX_ALL_WARNING
#define _ATL_APARTMENT_THREADED
//#define _ATL_NO_AUTOMATIC_NAMESPACE
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
// turns off ATL's hiding of some common and often safely ignored warning messages
#define _ATL_ALL_WARNINGS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment