Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

two resource files?!

Posted on 1998-11-30
1
Medium Priority
?
209 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…
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.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

636 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