#pragma once

#define _UNICODE

#define UNICODE

#define _AFXDLL
#include <afxwin.h>				//- MFC core and standard components
#include <afxext.h>				//- MFC extensions
#include <afxcmn.h>				//- MFC support for Windows Common Controls
//#include "DocData.h" //- Your document specific data class holder
#include <afxdlgs.h>
#include <exception>
#include <afxcontrolbars.h>
#include <afxctl.h>
#include <atlconv.h>
#include <odbcinst.h>
#include "afxdb.h"
#include <map>
#include <wchar.h>
#include "G:/tmy/ORDGCSL/TieYiYuan_ProjectCalculation/TieYiYuan_ProjectCalculation/inc/AdAChar.h"
//#include <corecrt.h>

#define DBEXT ".mdb"
#define LDBEXT L".mdb"


#define STR_MIN 16
#define STR_SHORT 32
#define STR_NORMAL 64
#define STR_EXTEND 128
#define STR_LONG 256
#define STR_MAX 1024
#define MAXDLNUM 10
#define MAXJDNUM 20

#import "C:\Program Files\Common Files\System\ado\msadox.dll"
#import "C:\Program Files\Common Files\System\ADO\msado15.dll" no_namespace rename("EOF","adoEOF") no_namespace rename("BOF","adoBOF")


//typedef wchar_t ACHAR;
//typedef wcscpy _tcscpy2;
#define ZCDESign // 站场设计（编译综合管线时需关闭此项，编译站场软件时需要打开）
