Original Post
1. I have a multiple project solution. 2. One solution contains pre-compiled headers (PCH) and one doesn't. 3. I have a .h/.cpp which I want to include in both projects. I currently have the following code at the top of my .cpp This is not working and giving the following errors.. 1>.\NewModelFuncs\NewModelFuncs.cpp(7) : fatal error C1019: unexpected #else Is it even possible to do this and if so, how? Thanks, stringa
#ifndef FBX_TO_BINARY
#include "GraphicsPrecompiled.h"
#include "../GraphicsInclude.h"
#else
#include "NewModelFuncs.h"
#endif