This documentation is archived and is not being maintained.
Compiler Error C2856
Visual Studio 2005
Error Message#pragma hdrstop cannot be inside an #if block
The hdrstop pragma cannot be placed inside the body of a conditional compilation block.
Move the #pragma hdrstop statement to an area that is not contained in an #if/#endif block.