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
PRESERVE.H
Package: MSDN_VC98.zip [view]
Upload User: bangxh
Upload Date: 2007-01-31
Package Size: 42235k
Code Size: 2k
Category:
Windows Develop
Development Platform:
Visual C++
- /*+==========================================================================
- File: PRESERVE.H
- Summary: Precompiled header include file for the aggregatable COBall
- COM object class.
- Origin: 10-1-96: paulring -- port to VC5 native COM support.
- ----------------------------------------------------------------------------
- This file is part of the Microsoft OLE Tutorial Code Samples.
- Copyright (C) Microsoft Corporation, 1996. 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.
- ==========================================================================+*/
- #ifndef _PRESERVE_H_
- #define _PRESERVE_H_
- #include "iball.h"
- #include "apputil.h"
- #include "server.h"
- // NOTE: There are problems with iball.tlb containing definitions for
- // tagRECT and tagPOINT and thus in iball.tlh. Therefore iball.tlh
- // must be wrapped in a namespace to avoid duplicate definitions. Whence
- // the property Ball and method Reset are actually defined for
- // BallLib::tagRECT and BallLib::tagPOINT. This situation will be
- // temporary, yet some inconvenience can be alleviated with the following
- // macros.
- //
- #define CAST_RECT(x) reinterpret_cast<BallLib::tagRECT> (x)
- #define CAST_POINT(x) reinterpret_cast<BallLib::tagPOINT> (x)
- #endif // _PRESERVE_H_