Solved

two resource files?!

Posted on 1998-11-30
1
193 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 150 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

726 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