/use_epv

midl /use_epv

Example

midl /use_epv filename.idl

 

Remarks

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.

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.

See Also

General MIDL Command-line Syntax, IDL, /no_default_epv, RpcServerRegisterIf