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
debug.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++
- //\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\//\
- //
- // debug.cpp
- //
- // Debug file. This file makes use to the shell debugging macros and
- // functions defined in shellincdebug.h
- //
- // History:
- //
- // 3/16/97 edwardp Created.
- //
- ////////////////////////////////////////////////////////////////////////////////
- #include "stdinc.h"
- //
- // Define strings used by debug.h. Declaring DECLARE_DEBUG causes debug.h to
- // define its c objects here.
- //
- #define SZ_DEBUGINI "shellext.ini"
- #define SZ_DEBUGSECTION "cdfview"
- #define SZ_MODULE "CDFVIEW"
- #define DECLARE_DEBUG
- #include <ccstock.h> // TEXTW macro used in debug.h
- #include <debug.h>
- #ifdef UNIX
- #ifdef DEBUG
- extern "C" void _DebugAssertMsgUnix(char *msg, char *fileName, int line)
- {
- printf("CDFVIEW: asrt(%s) %s, l %dn", msg, fileName, line);
- }
- extern "C" void _DebugMsgUnix(int i, const char *s, ...)
- {
- char buffer[1024];
- va_list ap;
- va_start(ap,s);
- vsprintf(buffer,s,ap);
- printf(buffer); printf("n");
- va_end(ap);
- }
- #endif /* DEBUG */
- #endif /* UNIX */