The #include directive causes resource compiler to process the file specified in the filename parameter. This file should be a header file that defines the constants used in the resource-definition file. The file can use single-byte, double-byte, or Unicode characters.
Use the statement
#ifndef RC_INVOKED
in your header file to surround statements that can be compiled by a C compiler but not RC. This way, you can use the same include files in your .C and .RC files.
#include filename
This example processes the header files Windows.H and MyDefs.H while compiling the resource-definition file:
#include <windows.h>
#include "headers\mydefs.h"