123456789101112131415161718192021222324252627282930 |
- #ifndef __LYFZ_SERVERINFO_HEADER__
- #define __LYFZ_SERVERINFO_HEADER__
- #include "Ado2Impl.h"
- #pragma once
- extern TCHAR g_szModulePath[MAX_PATH]; // 软件目录;
- extern TCHAR g_szModuleFileName[MAX_PATH]; // 软件名称;
- extern TCHAR g_szConnectString[MAX_PATH]; // DB连接串;
- // 服务器信息;
- extern TCHAR g_szDBSource[MAX_PATH]; // 数据库源(服务所在IP或计算机名);
- extern TCHAR g_szDBSourcePort[MAX_PATH]; // 数据库源端口;
- extern DWORD g_dwDBServerPort; // 数据库源端口;
- extern TCHAR g_szDBAccount[MAX_PATH]; // 数据库登录用户;
- extern TCHAR g_szDBPassWord[MAX_PATH]; // 数据库登录密码;
- extern TCHAR g_szDBName[MAX_PATH]; // 数据库名称;
- extern Ado2Impl* g_AdoImpl;
- extern CHAR g_szKeyPath[MAX_PATH];
- extern int g_nVersion;
- extern TCHAR g_szEncryS1[50]; // 加密狗S1字符串值;
- extern int GetIniInfo(const TCHAR *szPath=NULL,const TCHAR *szIniName=NULL);
- extern int FindPortEx(int start, BYTE *InByte, int InLen, char *OutPath);
- extern int GetSoftWareVersion();
- #endif
|