Resource Files .rc .res

hii...i am transferrin the resources from one exe to another...

also i am saving the resources as a .rc using the Resource Hacker software...which replaces the existing .rc file of the project....

but i am getting the following error:-

"error RC 2019 : expected preprocessor command, found '1' "

(the error gigving line is-- #106 MENU)
this one is due to the id of the MENU resource i hav trasnferred from another exe

the next error is:- "RC Terminating after preprocessor errors"

how can i solve this?

is ther another way pf updating the .rc or .res files of a projetc using VC++ programming ?

regards,

kedar.
[705 byte] By [kedardave] at [2007-11-19 6:04:15]
# 1 Re: Resource Files .rc .res
To transfer resouces from another exe to your project using Visual Studio:

Select File/Open menu
In "Open" dialog select Files of type: Executable Files (.exe;.dll;.ocx) and Open As: Resources.
Find and open the source exe file
While keeping <Ctrl> pressed, drag and drop the desired resource(s) into Resource View of your project.
ovidiucucu at 2007-11-11 0:32:42 >