#include
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.
Syntax
#include filename
Parameters
filename
Specifies the name of the file to be included. If the file is in the current directory, the string must be enclosed in double quotation marks; if the file is in the directory specified by the INCLUDE environment variable, the string must be enclosed in less-than and greater-than characters (<>). You must give a full path enclosed in double quotation marks (") if the file is not in the current directory or in the directory specified by the INCLUDE environment variable.
Example
This example processes the header files Windows.H and MyDefs.H while compiling the resource-definition file:
#include <windows.h>
#include "headers\mydefs.h"
See Also
#define
--------------------
namespace Declaration
A namespace declaration identifies and assigns a name to a declarative region.
Syntax
original-namespace-name :
identifier
namespace-definition :
original-namespace-definition
extension-namespace-definition
unnamed-namespace-definition
original-namespace-definition :
namespace identifier { namespace-body }
extension-namespace-definition :
namespace original-namespace-name { namespace-body }
unnamed-namespace-definition :
namespace { namespace-body }
namespace-body :
declaration-seqopt
The identifier in an original-namespace-definition must be unique in the declarative region in which it is used. The identifier is the name of the namespace and is used to reference its members. Subsequently, in that declarative region, it is treated as an original-namespace-name.
The declarative region of a namespace-definition is its namespace-body.
A namespace can contain data and function declarations. The declaration-seq is a list of these declarations which are said to be members of the namespace.