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
stdafx.cpp
Package: shell.rar [view]
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 1k
Category:
Windows Kernel
Development Platform:
Visual C++
- #include "stdafx.h"
- #pragma hdrstop
- // windowsx.h has a macro called SubclassWindow, which conflicts with
- // ATL members with the same name. This sucks.
- #undef SubclassWindow
- //-----------------------------------------------------------------------------
- //
- // statreg.cpp
- //
- #ifdef _ATL_STATIC_REGISTRY
- #include <statreg.h>
- #include <statreg.cpp>
- #endif
- //-----------------------------------------------------------------------------
- //
- // atlctl.cpp
- //
- // We shouldn't ever do this because we broke it in the interest of
- // severing ties with OLEAut32. DeskMovr doesn't need this.
- #define OleCreatePropertyFrame(a,b,c,d,e,f,g,h,i,j,k) Bad_OCPF()
- inline HRESULT Bad_OCPF(void) {
- ASSERT(FALSE);
- return OLEOBJ_S_CANNOT_DOVERB_NOW;
- }
- #include "atlctl.cpp"
- #undef OleCreatePropertyFrame
- // End of atlctl.cpp hackitude.
- //-----------------------------------------------------------------------------
- //
- // atlimpl.cpp
- //
- // The use of ocscpy in atlimpl.cpp is not safe because it can overflow
- // the target buffer. Change it to a safe version.
- #define ocscpy(dst, src) StrCpyNW(dst, src, ARRAYSIZE(dst))
- #include "atlimpl.cpp"
- #undef ocscpy
- // End of atlimpl.cpp hackitude.
- //-----------------------------------------------------------------------------
- //
- // atlwin.cpp
- //
- #include "atlwin.cpp"