Files
Slnkdwf/SlnkDWFCom/stdafx.h
Jos Groot Lipman b1bf0bd021 Toch nog even compatible blijven met de winsock van Windows 2003R2
svn path=/Slnkdwf/trunk/; revision=26229
2015-09-08 15:22:02 +00:00

83 lines
2.5 KiB
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
// Zolang we nog Windows 2003R2 (willen) ondersteunen:
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#include "../SLNKDwfImpl/targetsxs.h"
#ifndef STRICT
#define STRICT
#endif
// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER // Allow use of features specific to Windows XP or later.
#define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows.
#endif
#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
#define _WIN32_WINNT 0x0502 // 502 is nodig voor 2003R2 Change this to the appropriate value to target other versions of Windows.
// 600 voor Vista/2008
#endif
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
#endif
#ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later.
#define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
#endif
#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
#ifdef _DEBUG
//#define _ATL_DEBUG_INTERFACES
#endif
#include "resource.h"
#include <atlbase.h>
#include <atlcom.h>
using namespace ATL;
// [JGL] added manually
#include <atltypes.h>
#include "atlstr.h"
#include "atlrx.h"
#include "../SLNKDwfImpl/jglutil.h"
#include "Options.h"
#include "SLNKDWFStaticRW.h"
#include "dwfcore/File.h"
#include "dwfcore/String.h"
#include "dwf/package/Constants.h"
#include "dwf/package/Manifest.h"
#include "dwf/package/EPlotSection.h"
#include "dwf/package/reader/PackageReader.h"
//#include "dwf/package/writer/PackageWriter.h"
#include "dwf/package/xml.h"
#include "dwf/package/reader/DuplicateAttributeFilter.h"
using namespace DWFCore;
using namespace DWFToolkit;
//using namespace DWFManifest;
//using namespace DWFXmlObjects;
//using namespace DWFEPlot;
//using DWF::DwfResult;
#ifdef _DEBUG
#include "MemLeakDetect.h"
#endif