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
Solved

two resource files?!

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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

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: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

829 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