/client switch

The /client switch directs the MIDL compiler to generate client-side C source files for an RPC interface.

midl /client { stub | none }

Switch Options

stub

Generates the client-side files.

none

Does not generate any client-side files.

Remarks

When the /client switch is not specified, the MIDL compiler generates the client stub file. This switch does not affect OLE interfaces.

The /client switch takes precedence over the /cstub switch.

Examples

midl /client none filename.idl

midl /client stub filename.idl

See also

/cstub

/server

General MIDL Command-line Syntax