?
Solved

two resource files?!

Posted on 1998-11-30
1
Medium Priority
?
203 Views
Last Modified: 2013-11-20
hi,
I want have more than one resource file in my project!
Unfortunalely it is impossible to have two resource files in one project.
So I added a resource template (rct) to my project. Within
the template I added a string table. The problem: the IDs in
the String table are not known in my project (error C2065: 'ID_XY' : undeclared identifier)!
Best regards
dib  
0
Comment
Question by:nil_dib
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
plaroche earned 600 total points
ID: 1325503
My project has two ressource files.  In your main resource.h you need to include the other RC file.

Go in the View|Resource Includes menu. In the bottom part of the dialog add a line like this:
 #include "VibFiles\FSysRes.rc"

Where the name of the rc file is the second rc file you created.

In the files where you will need to reference any of those resources you need to include your new header resource file. In my case it'd be FSysRes.h.


0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question