Düzenle

Aracılığıyla paylaş


/server switch

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

midl /server { stub | none }

Switch Options

stub

Generates the server-side files.

none

Does not generate server-side files.

Remarks

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

The none option causes no files to be generated.

The /server switch takes precedence over the /sstub switch.

Examples

midl /server none

midl /server stub

See also

General MIDL Command-line Syntax

/client

/sstub