Click here to Skip to main content
12,953,865 members (43,824 online)
Click here to Skip to main content


18 bookmarked
Posted 18 Jul 2001

Generator for Include File Guards

, 18 Jul 2001
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;

// 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.


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


About the Author

Oliver Anhuth
Web Developer
Germany Germany
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170525.1 | Last Updated 19 Jul 2001
Article Copyright 2001 by Oliver Anhuth
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid