Files
envi-code/SourceCode/Code2026/tg_shs/shs_subgeLib/StdAfx.h
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

66 lines
1.3 KiB
C++

#ifndef _STDAFX_H_
#define _STDAFX_H_
#pragma warning(disable: 4786)
#pragma warning(disable: 4996)
#if ADS == 16
#pragma warning(disable: 4995)
#endif
#define STRICT
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
#endif
#if _MSC_VER > 1000
#pragma once
#endif
#define WIN32_LEAN_AND_MEAN
#define VC_EXTRALEAN
#if defined(_DEBUG)
#define _DEBUG_WAS_DEFINED
#undef _DEBUG
#pragma message (" Compiling MFC header files in release mode.")
#endif
#include <afx.h>
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxtempl.h> // MFC template
#include <stdlib.h>
#include <stdio.h>
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif
#include "class_conversion.h"
#include "pp3d.h"
#define GEOAPI __declspec( dllexport )
#include "StdArx.h"
#include "math.h"
#include "TMigration.h"
#include "TArchMatchProp.h"
#include "TchGlobalDef.h"
#include "TchGlobalFunc.h"
#include "TchPrivateGlobalFunc.h"
#include "TchGeLib.h"
#include "TchSubGlobalFunc.h"
#include "TchSubPrivateGlobalFunc.h"
using namespace TchPrivate;
using namespace TchExport;
using namespace TchGeLib;
using namespace TchSubExport;
using namespace TchSubPrivate;
#endif