Files
envi-code/SourceCode/Code2026/SPLDCmd/StdAfx.h
T
2026-09-28 15:28:50 +08:00

57 lines
1.1 KiB
C++

#pragma once
#pragma warning(disable: 4786)
#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
#include <afxwin.h>
#include <afxext.h>
#ifndef _AFX_NO_OLE_SUPPORT
#include <afxole.h>
#include <afxodlgs.h>
#include <afxdisp.h>
#endif
#include <afxdtctl.h>
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>
#endif
#include <map>
#include <string>
#include <VECTOR>
#include <afxdhtml.h>
#include "ktcad.h"
#include "AecDbLandForm.h"
#ifndef _ttof
#define _ttof(pszVal) _tcstod((pszVal), NULL)
#endif
#define LAY_ROAD _T("LAY_ROAD")
#define LAY_EW_DS _T("LAY_EW_DS")
extern HINSTANCE _hdllInstance;
#ifdef _DEBUG_WAS_DEFINED
#define _DEBUG
#undef _DEBUG_WAS_DEFINED
#endif
#define FILE_NAME_INI _T("spldcmd_uicache.dat")
#define GET_CACHE(name,format, ...) UIHistory::readCache(FILE_NAME_INI, _T(#name), _T(#format), ##__VA_ARGS__)
#define SET_CACHE(name,format, ...) UIHistory::writeCache(FILE_NAME_INI, _T(#name), _T(#format), ##__VA_ARGS__)