58 lines
1.2 KiB
C++
58 lines
1.2 KiB
C++
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
|
|
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
|
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
|
// PARTICULAR PURPOSE.
|
|
//
|
|
// Copyright (c) Microsoft Corporation. All rights reserved
|
|
|
|
#pragma once
|
|
|
|
#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
|
|
#define WINVER 0x0400
|
|
#endif
|
|
|
|
#ifndef _WIN32_WINNT
|
|
#define _WIN32_WINNT 0x0500
|
|
#endif
|
|
|
|
#ifndef _WIN32_WINDOWS
|
|
#define _WIN32_WINDOWS 0x0410
|
|
#endif
|
|
|
|
#ifndef _WIN32_IE
|
|
#define _WIN32_IE 0x0400
|
|
#endif
|
|
|
|
#define _ATL_NO_AUTOMATIC_NAMESPACE
|
|
|
|
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
|
|
|
|
// turns off ATL's hiding of some common and often safely ignored warning messages
|
|
#define _ATL_ALL_WARNINGS
|
|
|
|
|
|
#include "resource.h"
|
|
#pragma warning(disable : 4100) // unreferenced formal parameter
|
|
#include <atlbase.h>
|
|
#include <atlcom.h>
|
|
|
|
using namespace ATL;
|
|
|
|
|
|
#include "assert.h"
|
|
#define RDCAssert assert
|
|
#include "new"
|
|
#define RDCAssert assert
|
|
#include "debughresult.h"
|
|
#include "msrdc.h"
|
|
|
|
|
|
#include "rdcsmartarray.h"
|
|
|