#ifndef __GLOBAL_HEADER__
#define __GLOBAL_HEADER__

extern TCHAR g_szServerIP[100];
extern TCHAR g_szCmdPort[10];
extern TCHAR g_szFilePort[10];
extern DWORD g_dwCmdPort;
extern DWORD g_dwFilePort;

// 1.
extern TCHAR g_szDBServer[MAX_PATH+1];
extern DWORD g_dwDBServerPort;
extern TCHAR g_szDBAccount[MAX_PATH+1];
extern TCHAR g_szDBPassWord[MAX_PATH+1];
extern TCHAR g_szDBName[MAX_PATH+1];

// 2.
extern TCHAR g_ModulePath[_MAX_PATH];
extern TCHAR g_ModuleFileName[_MAX_PATH];

// 3.
extern int  g_nType;
extern long g_nMachineNumber;
extern long g_nLicense;
extern long g_nComPort;
extern long g_nBaudRate;
extern char g_szTelNumber[MAX_PATH+1];
extern long g_nWaitDialTime;
extern char g_szIpAddress[MAX_PATH+1];
extern long g_nPort;
extern long g_nTimeOut;
extern long g_nProtocolType;
extern long g_nNetPassword;

extern void GetServerIniInfo(const char *szPath=NULL, const char *szIniName=NULL);	// Jeff Add:获取ini文件信息;
extern void GetClientIniInfo(const char *szPath=NULL, const char *szIniName=NULL);	// Jeff Add:获取ini文件信息;


#endif