The information in this article applies to:
SUMMARY
The Microsoft Visual C++ development environment supports only one
resource (.rc) file in each project. An attempt to add a second resource
file to a project causes the environment to display an error. This message box includes buttons labeled "Yes" and "No." In Microsoft Visual C++, 32-bit Editions, versions 2.x and later:
MORE INFORMATIONTo store resources in more than one file, create a master .rc file that uses the #include preprocessor directive to include resources from the other files. For example, consider the case in which the Rc1.rc and Rc2.rc files store resources for a project. Create a master .rc file called Proj.rc that contains the following text:
This file instructs the resource file to compile all resources
contained in the other .rc files into the application's resources
while the project only contains one .rc file.In Visual C++, versions 5.0 and 6.0, use the following steps to include other resource files into one main resource script:
REFERENCESVisual C++ Technical Note 35: "Using Multiple Resource Files and Header Files with Visual C++" Additional query words: VWBIss
Keywords : kbide kbVC100 kbVC150 kbVC151 kbVC152 kbVC200 kbVC210 kbVC400 kbVC410 kbVC420 kbVC500 kbVC600 kbGrpDSTools |
Last Reviewed: August 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |