To suggest an alternative:
Put everything back where it was, and wrap the bits you don't want in:
# ifndef RC_INVOKED ... # endif
(Or another symbol, if my guess that you want to directly #include it from the resource compiler is wrong).
+1. This approach is infinitely better than adding new files. -- justin
