resource.h contains constant values with #defines.


Try with do use precompiled header setting in VS2008