embed one resource file in another

The driver build utility warns in case one uses 2 .rc files in the sources
file and says the second one will not be ignored .
What is the way to embed one rc file into the other (one is a wmi
resource and the other just a system error messages ) .
Just by ‘import’ under the Ms studio ?
At least one .rc file was not formed by the Ms studio .

Select one .rc file within your “sources” file , and include the other .rc into that first by means of
#include my_2nd_rc_file.rc

You could make things look “professional” :slight_smile: by creating a ‘common.rc’ and include all your .rc files
there.

Christiaan

----- Original Message -----
From: Zvi Dubitzky
To: Windows System Software Devs Interest List
Sent: Sunday, September 26, 2004 9:56 PM
Subject: [ntdev] embed one resource file in another

The driver build utility warns in case one uses 2 .rc files in the sources file and says the second one will not be ignored .
What is the way to embed one rc file into the other (one is a wmi resource and the other just a system error messages ) .
Just by ‘import’ under the Ms studio ?
At least one .rc file was not formed by the Ms studio .

— Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@compaqnet.be To unsubscribe send a blank email to xxxxx@lists.osr.com

Use #include

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: Zvi Dubitzky
To: Windows System Software Devs Interest List
Sent: Sunday, September 26, 2004 11:56 PM
Subject: [ntdev] embed one resource file in another

The driver build utility warns in case one uses 2 .rc files in the sources file and says the second one will not be ignored .
What is the way to embed one rc file into the other (one is a wmi resource and the other just a system error messages ) .
Just by ‘import’ under the Ms studio ?
At least one .rc file was not formed by the Ms studio .

— Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@storagecraft.com To unsubscribe send a blank email to xxxxx@lists.osr.com