54 lines
1.4 KiB
C++
54 lines
1.4 KiB
C++
#if !defined(__STDAFX_H__)
|
|
#define __STDAFX_H__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#pragma warning(disable: 4786)
|
|
//#pragma warning(disable: 4098)
|
|
|
|
// 'DEBUG workaround' below prevents the MFC or ATL #include-s
|
|
// from pulling in "afx.h" that would force the debug CRT through
|
|
// #pragma-s.
|
|
#if defined(_DEBUG) && !defined(AC_FULL_DEBUG)
|
|
#define _DEBUG_WAS_DEFINED
|
|
#undef _DEBUG
|
|
#pragma message ("Compiling MFC / STL / ATL header files in release mode.")
|
|
#endif
|
|
|
|
#pragma pack (push, 8)
|
|
#pragma warning(disable: 4786 4996)
|
|
|
|
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
|
|
|
#include <afxwin.h> // MFC core and standard components
|
|
#include <afxext.h> // MFC extensions
|
|
|
|
#ifndef _AFX_NO_OLE_SUPPORT
|
|
#include <afxole.h> // MFC OLE classes
|
|
#include <afxodlgs.h> // MFC OLE dialog classes
|
|
#include <afxdisp.h> // MFC Automation classes
|
|
#endif // _AFX_NO_OLE_SUPPORT
|
|
|
|
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
|
|
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
|
#include <afxcmn.h> // MFC support for Windows Common Controls
|
|
#endif // _AFX_NO_AFXCMN_SUPPORT
|
|
//{{AFX_INSERT_LOCATION}}
|
|
|
|
#include <map>
|
|
|
|
#define KT_MENU_FILE _T("EarthWorm.mnu")
|
|
extern HINSTANCE _hdllInstance;
|
|
|
|
#define KTARXAPI
|
|
#include "KTCad.h"
|
|
|
|
#ifdef _DEBUG_WAS_DEFINED
|
|
#define _DEBUG
|
|
#undef _DEBUG_WAS_DEFINED
|
|
#endif
|
|
|
|
#endif // !defined(__STDAFX_H__)
|