Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple resources on Visual C++

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I've been trying, without any success, to include some of the resources (dialogs and their source codes) from a project within another one.
According to MSDN, it is possible to use multiple resources in a project by including a "second.rc" file in the main .rc file.
When I do it, two errors occur. The first one is related tho the files located at the "res" folder in the source project directory. This error was easy to solve, by copying them to the folder with the same name in te destiny project directory.
However, I haven't found a solution for the second error yet. It says "error RC2151 : cannot reuse string constants". Although I know the reason of this error, don't know how to solve it. Does any one know how to help me?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top