Get followings error and warnings when building project:
Error Rc1205:invalid code page
Warning C4005: ' __useheader ': Macro redefinition
Warning C4005: ' __on_failure ': Macro redefinition
Explanation from Msdn:resource Compiler Fatal Error RC1205
The Specify code page (/c) option is followed by an invalid code page. See Code Pages in the run-time Library Reference for more information.
Check following items:
1. Check rc file ' s/c option
Go to Project Properties-Configuration Properties--Resources--all options--Additional options
If you set the this value, make sure the/c option is set correctly.
If this doesn ' t work, please continue:
2. Platform Toolset
Project Properties-Configuration Properties--Platform toolset
Make sure this value is set correctly.
i.e. might get error RC1205 if you is trying to use VS2012 to compile legacy DirectX code.
Beside, if you set "Visual Studio 2012-windows XP (V110_XP)" as "Platform toolset",
Project Properties-Configuration Properties--Resources--all Options-Preprocessor definitions
_using_v110_sdk71_ 'll is automatically added to "Preprocessor Definitions". Make sure didn ' t delete it accidently.
reference:vs2012 C + + warning C4005: ' __useheader ': Macro redefinition.
Error Rc1205:invalid code page