Server.h
上传用户:maryhy001
上传日期:2007-05-02
资源大小:2317k
文件大小:1k
- #ifndef _SERVER_APP_H
- #define _SERVER_APP_H
- #include "resource.h" // main symbols
- #include "AppInstance.h"
- #include "ADODataSet.h"
- #include "ADOConnection.h"
- class CServerApp : public CWinApp
- {
- public:
- CServerApp();
- void _GetTempFileName(LPCSTR lpcsPostfix, LPSTR lpsTempFile);
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CServerApp)
- public:
- virtual BOOL InitInstance();
- virtual int ExitInstance();
- //}}AFX_VIRTUAL
- // Implementation
- //{{AFX_MSG(CServerApp)
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- public:
- LONG _unindex;
- int m_serverid;
- CADOConnection m_dbcont;
- CAppInstance m_oappinst;
- VNCLog m_syslog;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- extern CServerApp theApp;
- #endif // !defined(AFX_SERVER_H__41DE3017_EB80_49CB_958C_812B1B715261__INCLUDED_)