/c_ext
midl
/c_ext
This switch
is obsolete with the current version (3.0) of the MIDL compiler. However, using
the switch will not generate a compiler error, so you do not have to remove
references to /ms_ext or /c_ext from an existing makefile.
The following
features are now available by default:
Many existing header files
define types with qualifiers, such as far and stdcall, that are not
part of the DCE IDL. DCE IDL compilers (and the MIDL compiler in
DCE-compatibility mode) generate errors when they attempt to process these
qualifiers. The MIDL compiler allows you to compile IDL files that contain
these qualifiers. The type qualifiers do not affect the way the data is
transmitted on the network.
You can omit directional
attributes (in, out).
The following
C-language extensions are supported in default mode:
Bit fields in structures and
unions
Comments that start with two
slash characters ( // )
External declarations
Procedures with ellipses in the
parameter list
On 32-bit platforms, int is
a native 32-bit base type. On 16-bit platforms, int is recognized but is
not a remotable type
Type void * that is not
used in remote operations
Type qualifiers, including the
form with the ANSI-conformant prefix, contain two underscore characters: _ _cdecl,
cdecl, _ _const, const, _ _export,
export, _ _far, far, _ _loadds,
loadds, _ _near, near, _ _pascal,
pascal, _ _stdcall, stdcall, _ _volatile,
and volatile.
For more
information about declaration qualifiers, see your Microsoft C/C++
documentation.
See Also