2006-01-23 08:47:05 +00:00
|
|
|
// stdafx.h : include file for standard system include files,
|
|
|
|
// or project specific include files that are used frequently,
|
|
|
|
// but are changed infrequently
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifndef STRICT
|
|
|
|
#define STRICT
|
|
|
|
#endif
|
|
|
|
|
2009-07-25 16:47:04 +00:00
|
|
|
// Visual Studio 2005 has extended the C Run-Time Library by including "secure"
|
|
|
|
// runtime functions and deprecating the previous function prototypes. Since
|
|
|
|
// we need to use the previous prototypes to maintain compatibility with other
|
|
|
|
// platforms we are going to disable the deprecation warnings if we are compiling
|
|
|
|
// on Visual Studio 2005
|
|
|
|
#if _MSC_VER >= 1400
|
|
|
|
#ifndef _CRT_SECURE_NO_DEPRECATE
|
|
|
|
#define _CRT_SECURE_NO_DEPRECATE
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2006-01-23 08:47:05 +00:00
|
|
|
// 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.
|
2009-07-15 20:54:46 +00:00
|
|
|
#ifndef WINVER // Allow use of features specific to Windows 2000 or later
|
|
|
|
#define WINVER 0x0500
|
2006-01-23 08:47:05 +00:00
|
|
|
#endif
|
|
|
|
|
2009-07-15 20:54:46 +00:00
|
|
|
#ifndef _WIN32_WINNT // Allow use of features specific to Windows 2000 or later.
|
|
|
|
#define _WIN32_WINNT 0x0500
|
2006-01-23 08:47:05 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef _WIN32_IE // Allow use of features specific to IE 5.01 or later.
|
2009-07-15 20:54:46 +00:00
|
|
|
#define _WIN32_IE 0x0501
|
2006-01-23 08:47:05 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
#include <initguid.h>
|
|
|
|
#include <wininet.h>
|
2009-07-25 16:47:04 +00:00
|
|
|
#include <shellapi.h>
|
2006-01-23 08:47:05 +00:00
|
|
|
#include <crtdbg.h>
|
2006-08-18 07:37:10 +00:00
|
|
|
#include <tchar.h>
|
2006-01-23 08:47:05 +00:00
|
|
|
|
|
|
|
#include <vector>
|
2006-08-23 03:20:35 +00:00
|
|
|
#include <string>
|
2006-01-23 08:47:05 +00:00
|
|
|
|
2007-02-08 21:23:36 +00:00
|
|
|
#ifdef _UNICODE
|
|
|
|
#define tstring std::wstring
|
|
|
|
#define tostringstream std::wostringstream
|
|
|
|
#else
|
|
|
|
#define tstring std::string
|
|
|
|
#define tostringstream std::ostringstream
|
|
|
|
#endif
|