Click here to Skip to main content
15,885,366 members
Articles / Desktop Programming / MFC

The Ultimate TCP/IP Home Page

Rate me:
Please Sign up or sign in to vote.
4.98/5 (77 votes)
25 Aug 2007CPOL13 min read 2.6M   45.4K   267  
Ultimate TCP-IP is now Open Source
// stdutfx.h
// standard include file for Ultimate TCPIP macros etc

// This file is not intended to be included directly by the core Ultimate TCP/IP source code.
// It is used in the samples (included in each of the respective samples stdafx.h files) to 
// centralize the TODO pragma, and may also contain version defines and warning #pragmas 
// that should not exist in the core code.

#pragma warning ( disable : 4710 )

//#if _MSC_VER < 1400
//#define WINVER 0x400
//#else 
//#define WINVER 0x503
//#endif

#if _MSC_VER < 1400
#define ULONG_PTR LONG
#define LONG_PTR LONG
#endif

// comment this out for clean compilation!
#define SHOW_TODO		

// #pragma TODO() definition
#if defined SHOW_TODO

#if !defined TODO_PRAG
#define TODO_PRAG
#define STRING2(x) #x
#define STRING(x) STRING2(x)
// usage: #pragma TODO("Changed - remove commented code when tested")
// expands to provide file and line number in output window - dclick navigation.
#define TODO(x) message ( __FILE__ "(" STRING(__LINE__) ") : " x)
#endif

#else

#define TODO(x) 

#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Canada Canada
In January 2005, David Cunningham and Chris Maunder created TheUltimateToolbox.com, a new group dedicated to the continued development, support and growth of Dundas Software’s award winning line of MFC, C++ and ActiveX control products.

Ultimate Grid for MFC, Ultimate Toolbox for MFC, and Ultimate TCP/IP have been stalwarts of C++/MFC development for a decade. Thousands of developers have used these products to speed their time to market, improve the quality of their finished products, and enhance the reliability and flexibility of their software.
This is a Organisation

476 members

Comments and Discussions