Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
RCDATA (1.2)
◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
The Resource Compiler RCDATA Statement
RCDATA resource-id
BEGIN
data-definition [, data-definition] [...]
.
.
.
END
The RCDATA statement defines a custom-data resource for an application. The
custom data can be in whatever format the application requires. You can
provide any number of RCDATA statements in a resource-definition file, but
each statement must specify a unique resource-id value. A custom-data
resource can be loaded from the executable file when needed by using the
DosGetResource or DosGetResource2 functions with the RT_RCDATA resource
type.
Field Description
────────────────────────────────────────────────────────────────────────────
resource-id Specifies the custom-data identifier. This value must be an
integer in the range 0 through 65,535, or a simple
expression that evaluates to a value in that range.
data-definition Specifies the custom data. The data may be simple
expressions or strings.
Example
This example defines custom data that has a resource identifier of 5.
RCDATA 5
BEGIN
"E. A. Poe", 1849, -32, 3L, 0x8000000l, 3+4+5
END
See Also
DosGetResource
♦