Programming Headers

From Esenthel

Jump to: navigation, search

Esenthel Engine by default removes access to standard headers (for example "windows.h"), this benefits in:

  • faster compile time
  • clean global namespace


However if you need access to standard headers, you should include them in this way:

Edit your precompiled header file, typically "stdafx.h" to look like this

// Include Standard Headers
#define  NOMINMAX
#include <windows.h>

// Include 3rd Party Libraries which use Standard Headers
.. 

// Include Esenthel Engine
#include <EsenthelEngine/EsenthelEngine.h>

// Include your Custom Headers
..
Personal tools