Solved

two resource files?!

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Expand to include initial dialog with two choices. 9 59
fizzArray2 challenge 1 61
fix34  challenge 9 97
firstChar challenge 13 86
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

762 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now