ILE C/C++ Programmer's Guide


Including Device Files in a Program

To include external device file descriptions, use the INPUT, OUTPUT, BOTH, and/or INDICATOR options on the #pragma mapinc directive. Device files do not contain KEY fields. Therefore, you cannot specify the KEY option with device files.

C language only C users may use the GENCSRC utility to create type definitions from an external file.

C++ language only C++ users must use the GENCSRC utility to create type definitions from an external file.

Note:
For more information on the differences between the GENCSRC utility and the #pragma mapinc directive, see Appendix A, The GENCSRC Utility and the #pragma mapinc Directive.


[ Top of Page | Previous Page | Next Page | Table of Contents ]