root/trunk/RegisterTypeLibrary/stdafx.h

User picture

Author: alax

Revision: 304 («Previous)

(Jan 05 16:11 2009 UTC) About 3 years ago


  

 
Show/hide line numbers
////////////////////////////////////////////////////////////
// Copyright (C) Roman Ryltsov, 2008-2009
// Created by Roman Ryltsov roman@alax.info
// 
// $Id$

#pragma once

////////////////////////////////////////////////////////////
// Windows definitions

#define STRICT
#define WINVER			0x0600        
#define _WIN32_WINNT	0x0600  
#define _WIN32_WINDOWS	0x0410
#define _WIN32_IE		0x0700     

#include <stdio.h>
#include <tchar.h>

////////////////////////////////////////////////////////////
// ATL definitions

#define _ATL_APARTMENT_THREADED
#define _ATL_NO_AUTOMATIC_NAMESPACE
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
#define _ATL_ALL_WARNINGS
#define _ATL_ATTRIBUTES

#include "roatltrace.h" // Replacement for <atltrace.h>
#include <atlbase.h>
#include <atlstr.h>
#include <atlcoll.h>
#include <atlrx.h>
#include <atlfile.h>
#include <atlpath.h>

using namespace ATL;
using namespace ATL::ATLPath;

////////////////////////////////////////////////////////////
// WTL

#define _WTL_NO_CSTRING
#define _WTL_NO_WTYPES
#define _WTL_NO_UNION_CLASSES
#define _WTL_NEW_PAGE_NOTIFY_HANDLERS

#include <atlapp.h>
//#include <atlgdi.h>
//#include <atluser.h>
//#include <atlcrack.h>
//#include <atlctrls.h>
//#include <atlctrlx.h>
//#include <atlmisc.h>
//#include <atlframe.h>
//#include <atldlgs.h>

using namespace WTL;

////////////////////////////////////////////////////////////
// Alax.Info ATL/WTL

//#define REGISTRY_PRODUCTROOT	_T("SOFTWARE\\Alax.Info\\...")
//#define REGISTRY_FILEROOT		REGISTRY_PRODUCTROOT _T("\\...")
//#define REGISTRY_ROOT			REGISTRY_FILEROOT

#include "roatlbase.h"
#include "roatlvariants.h"
#include "roatlcom.h"
#include "roatlpersist.h"
#include "roatlmisc.h"
//#include "roatlexceptionfilter.h"
#include "rowtlapp.h"
//#include "rowtlcrack.h"
//#include "rodialogs.h"
//#include "rocontrols.h"