- Code/Resource
- Windows Develop
- Linux-Unix program
- Internet-Socket-Network
- Web Server
- Browser Client
- Ftp Server
- Ftp Client
- Browser Plugins
- Proxy Server
- Email Server
- Email Client
- WEB Mail
- Firewall-Security
- Telnet Server
- Telnet Client
- ICQ-IM-Chat
- Search Engine
- Sniffer Package capture
- Remote Control
- xml-soap-webservice
- P2P
- WEB(ASP,PHP,...)
- TCP/IP Stack
- SNMP
- Grid Computing
- SilverLight
- DNS
- Cluster Service
- Network Security
- Communication-Mobile
- Game Program
- Editor
- Multimedia program
- Graph program
- Compiler program
- Compress-Decompress algrithms
- Crypt_Decrypt algrithms
- Mathimatics-Numerical algorithms
- MultiLanguage
- Disk/Storage
- Java Develop
- assembly language
- Applications
- Other systems
- Database system
- Embeded-SCM Develop
- FlashMX/Flex
- source in ebook
- Delphi VCL
- OS Develop
- MiddleWare
- MPI
- MacOS develop
- LabView
- ELanguage
- Software/Tools
- E-Books
- Artical/Document
DCDSERVE.H
Package: MSDN_VC98.zip [view]
Upload User: bangxh
Upload Date: 2007-01-31
Package Size: 42235k
Code Size: 3k
Category:
Windows Develop
Development Platform:
Visual C++
- /*+==========================================================================
- File: DCDSERVE.H
- Summary: Main include file for the DCDSERVE.EXE sample application.
- In addition to class definitions, this DCDSERVE.H file
- contains definitions of the application's menu, string,
- and other resource IDs.
- For a comprehensive tutorial code tour of DCDSERVE's contents
- and offerings see the tutorial DCDSERVE.HTM file. For
- more specific technical details on the internal workings see
- the comments dispersed throughout the DCDSERVE source code.
- Classes: CMainWindow.
- Functions: WinMain.
- Origin: 8-23-97: atrent - Editor-inheritance from LOCSERVE.H in
- the LOCSERVE Tutorial Code Sample. [Revised]
- ----------------------------------------------------------------------------
- This file is part of the Microsoft COM Tutorial Code Samples.
- Copyright (C) Microsoft Corporation, 1997. All rights reserved.
- This source code is intended only as a supplement to Microsoft
- Development Tools and/or on-line documentation. See these other
- materials for detailed information regarding Microsoft code samples.
- THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
- KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
- PARTICULAR PURPOSE.
- ==========================================================================+*/
- #if !defined(DCDSERVE_H)
- #define DCDSERVE_H
- #ifdef __cplusplus
- /*C+C+++C+++C+++C+++C+++C+++C+++C+++C+++C+++C+++C+++C+++C+++C+++C+++C+++C+++C
- Class: CMainWindow
- Summary: Class to encapsulate the application's main window, menu, and
- message dispatching behavior.
- Methods: CMainWindow
- Constructor.
- InitInstance
- Creates a new instance of the main window.
- C---C---C---C---C---C---C---C---C---C---C---C---C---C---C---C---C---C---C-C*/
- class CMainWindow: public CVirWindow
- {
- public:
- CMainWindow();
- ~CMainWindow();
- BOOL InitInstance(HINSTANCE, int);
- // Methods for registering and unregistering this server.
- BOOL RegisterServer(void);
- BOOL UnregisterServer(void);
- TCHAR m_szFileName[MAX_PATH];
- protected:
- LRESULT WindowProc(UINT uMsg, WPARAM wParam, LPARAM lParam);
- private:
- LRESULT DoMenu(WPARAM wParam, LPARAM lParam);
- };
- #endif // __cplusplus
- // Window Class String Macros.
- #define MAIN_WINDOW_TITLE_STR "DCDSERVE: Tutorial Code Sample"
- #define MAIN_WINDOW_CLASS_NAME_STR "DCDSERVEWindow"
- #define MAIN_WINDOW_CLASS_MENU_STR "DCDSERVEMenu"
- // File Menu Command Identifiers.
- #define IDM_FILE_EXIT 1000
- // Help Menu Command Identifiers.
- #define IDM_HELP_ABOUT 1905
- // Error-related String Identifiers.
- #define IDS_COMINITFAILED 2000
- #define IDS_APPINITFAILED 2001
- #define IDS_OUTOFMEMORY 2002
- #define IDS_NOHELPFILE 2003
- #define IDS_NOUNICODE 2004
- #define IDS_NODCOM 2005
- #define IDS_NOSERVER 2006
- #define IDS_ASSERT_FAIL 2200
- // Notice-related String Identifiers.
- #define IDS_NOTIMPLEMENTED 2301
- #endif // DCDSERVE_H