Difference between revisions of "User:Robin Cornelius/viewer-development VC2005 Express"
Jump to navigation
Jump to search
(Created page with ' ==winres.h== This file is not present with Visual Studio 2005 express due to it mainly being an MFC header (MFC is not included with express), the actual requirments of this fil...') |
|||
Line 1: | Line 1: | ||
==winres.h== | ==winres.h== | ||
This file is not present with Visual Studio 2005 express due to it mainly being an MFC header (MFC is not included with express), the actual requirments of this file are very low, it basicly needs to include windows.h and define IDC_STATIC | This file is not present with Visual Studio 2005 express due to it mainly being an MFC header (MFC is not included with express), the actual requirments of this file are very low, it basicly needs to include windows.h and define IDC_STATIC. | ||
Recommended work around is to create your own winres.h, in the Visual Studio system include location, so you always have it for all builds. | |||
on a 32bit system - C:\Program Files\Microsoft Visual Studio 8\VC\include\winres.h | |||
on a 64bit system - C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\winres.g | |||
#ifndef _WINRES_H | |||
#define _WINRES_H | |||
#include "windows.h" | |||
#ifndef IDC_STATIC | |||
#define IDC_STATIC 1000 | |||
#endif | |||
#endif |
Revision as of 09:11, 23 August 2010
winres.h
This file is not present with Visual Studio 2005 express due to it mainly being an MFC header (MFC is not included with express), the actual requirments of this file are very low, it basicly needs to include windows.h and define IDC_STATIC.
Recommended work around is to create your own winres.h, in the Visual Studio system include location, so you always have it for all builds.
on a 32bit system - C:\Program Files\Microsoft Visual Studio 8\VC\include\winres.h on a 64bit system - C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\winres.g
#ifndef _WINRES_H #define _WINRES_H #include "windows.h" #ifndef IDC_STATIC #define IDC_STATIC 1000 #endif #endif