Files
envi-code/SourceCode/Code2026/tg_shs/shs_geLib/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

57 lines
1.2 KiB
C

#ifndef _STDAFX_H_
#define _STDAFX_H_
#pragma warning(disable: 4786)
#pragma warning(disable: 4996)
#pragma warning(disable: 4995)
#pragma warning(disable: 4275)
#pragma warning(disable: 4251)
#pragma warning(disable: 4819)
#define STRICT
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
#endif
#pragma once
#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 <afxext.h> // MFC extensions
#include <afxtempl.h> // MFC template
#include <afxole.h> // 里边包含__AFXDISP_H__的定义
#include <afxcmn.h>
#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 I_AM_GEOAPI
#define I_AM_TCH_KERNAL
#define TARCH_EXP __declspec( dllexport )
#define TARCH_IMPEXP __declspec( dllexport )
#define TUTIL_IMPEXP
#define GEOAPI __declspec( dllexport )
#include "StdArx.h"
#include "math.h"
#include "TMigration.h"
#include "TchGlobalDef.h"
#include "TchGeLib.h"
#include "tch32X64TypeDef.h"
#endif