#if !defined(__STDAFX_H__) #define __STDAFX_H__ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #pragma warning(disable: 4786) //- '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 // MFC core and standard components #include // MFC extensions #ifndef _AFX_NO_OLE_SUPPORT #include // MFC OLE classes #include // MFC OLE dialog classes #include // MFC Automation classes #endif #include // MFC support for Internet Explorer 4 Common Controls #ifndef _AFX_NO_AFXCMN_SUPPORT #include // MFC support for Windows Common Controls #endif #include #include #include //{{AFX_INSERT_LOCATION}} #include "KTCad.h" #include "KTGlobalDef.h" #include #include "Kingtouch.h" #include #include /* !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!注意!!!!!! 不要在这里添加头文件,哪个CPP使用,就把头文件添加到哪个CPP里面!!!!!!!!!!!!!!!!!!!!!!! */ extern HINSTANCE _hdllInstance; #define UIICOMMONDLLEXPORT #ifdef _DEBUG_WAS_DEFINED #define _DEBUG #undef _DEBUG_WAS_DEFINED #endif // for xlistctrl ////#include ".\XListCtrl\XTrace.h" //#define ENABLE_XLISTCTRL_TRACE #ifdef ENABLE_XLISTCTRL_TRACE #define XLISTCTRL_TRACE TRACE #else #define XLISTCTRL_TRACE __noop #endif //end #define FILE_NAME_INI _T("co_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__) #ifndef CMAKE #pragma comment(lib, "Corelibrary.lib") #endif #ifndef NDEBUG #pragma comment(lib, "CoreImplement.lib") #endif #endif // !defined(__STDAFX_H__)