Click here to Skip to main content
15,886,689 members
Articles / Desktop Programming / WTL

Generator for Include File Guards

Rate me:
Please Sign up or sign in to vote.
4.20/5 (2 votes)
18 Jul 2001 55.4K   578   19  
A little utility that generates header file guards against multiple inclusion.
// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__5C47C41A_999B_464F_A5DC_CEC4CAE52D42__INCLUDED_)
#define AFX_STDAFX_H__5C47C41A_999B_464F_A5DC_CEC4CAE52D42__INCLUDED_

// Change these values to use different versions
#define WINVER		0x0400
#define _WIN32_IE	0x0400
#define _RICHEDIT_VER	0x0100


#include <atlbase.h>
#include <atlapp.h>

extern CAppModule _Module;

#include <atlmisc.h>
#include <atlcrack.h>

#include <atlwin.h>

#include <atlframe.h>
#include <atlctrls.h>
#include <atldlgs.h>
#include <atlctrlw.h>

// oan's peculiarities
typedef BYTE byte;
typedef USHORT ushort;
typedef UINT uint;
typedef ULONG ulong;

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__5C47C41A_999B_464F_A5DC_CEC4CAE52D42__INCLUDED_)

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions