Using MIDL
Files parsed by MIDL are referred to as .IDL files, although they can contain the same syntax elements as .ODL files. The MIDL compiler also compiles scripts written in ODL.
To avoid some common errors that can compromise the security of your system, the following MIDL compiler options are recommended:
/robust
/error all
For details on these options, see the MIDL Command Line Reference.
In this section
Topic | Description |
---|---|
Adding ODL to an IDL Definition |
The .odl files provide object definitions that are added to the type descriptions in a type library. |
TypeDef Syntax for Complex Data Types |
|
MIDL and Boolean Data Types |
|
GUID Definitions in Header Files |
|
Scope of Symbols in an enum Declaration |
|
Support for ODL Base Types |
|
The mktyplib203 Option |