Upravit

Sdílet prostřednictvím


/use_epv switch

The /use_epv switch directs the MIDL compiler to generate server stub code that calls the server application routine through an entry-point vector (epv), rather than by a static call. The use of this attribute is not recommended.

midl /use_epv

Switch Options

This switch has no parameters.

Remarks

Typically, applications require static linkage to the server application routine. The MIDL compiler generates such a call by default. However, if an application requires the server stub to call the server application routine by using the epv, the /use_epv switch must be specified. When the /use_epv switch is specified, the MIDL compiler generates a default epv. This default epv is then used if the application does not register another epv through the RpcServerRegisterIf call.

Examples

midl /use_epv filename**.idl**

See also

General MIDL Command-line Syntax

Interface Definition (IDL) File

/no_default_epv

RpcServerRegisterIf