source: trunk/eraser/Eraser.Shell/stdafx.h @ 2007

Revision 2007, 1.6 KB checked in by lowjoel, 4 years ago (diff)

Compilo.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Rev
Line 
1/*
2 * $Id$
3 * Copyright 2008-2010 The Eraser Project
4 * Original Author: Kasra Nassiri <cjax@users.sourceforge.net>
5 * Modified By: Joel Low <lowjoel@users.sourceforge.net>
6 *
7 * This file is part of Eraser.
8 *
9 * Eraser is free software: you can redistribute it and/or modify it under the
10 * terms of the GNU General Public License as published by the Free Software
11 * Foundation, either version 3 of the License, or (at your option) any later
12 * version.
13 *
14 * Eraser is distributed in the hope that it will be useful, but WITHOUT ANY
15 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
16 * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
17 *
18 * A copy of the GNU General Public License can be found at
19 * <http://www.gnu.org/licenses/>.
20 */
21
22#pragma once
23
24#include "targetver.h"
25
26#define NOMINMAX
27#define _ATL_APARTMENT_THREADED
28#define _ATL_NO_AUTOMATIC_NAMESPACE
29#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS  // some CString constructors will be explicit
30
31#include <afxwin.h>
32#ifndef _AFX_NO_OLE_SUPPORT
33    #include <afxdisp.h>        // MFC Automation classes
34#endif
35
36#include <comsvcs.h>
37#include <atlbase.h>
38#include <atlcom.h>
39#include <atlctl.h>
40using namespace ATL;
41
42#include <shellapi.h>
43#include <MLang.h>
44
45//Other STATUS constants from ntstatus.h (not included from windows.h)
46#define STATUS_SUCCESS                   ((NTSTATUS)0x00000000L)
47#define STATUS_BUFFER_OVERFLOW           ((NTSTATUS)0x80000005L)
48#define STATUS_BUFFER_TOO_SMALL          ((NTSTATUS)0xC0000023L)
49
50#include <list>
51#include <vector>
52#include <string>
53#include <sstream>
54#include <fstream>
Note: See TracBrowser for help on using the repository browser.