/osf

midl /osf

Examples

midl /osf filename.idl 
midl /osf /app_config filename.idl 
 

Remarks

The /osf switch forces strict compatibility with OSF DCE. Use this switch if your application requires strict compatibility with OSF DCE for portability reasons.

In /osf mode, the Rpcss package is automatically enabled when you use full pointers, the arguments require memory allocation, or when you use the enable_allocate attribute. This means that you do not have to supply the midl_user_allocate and midl_user_free functions in your client and server application.

The following Microsoft-extended features are not available when you compile with the /osf switch:

The following C/C++ language extensions are not available when you compile with the /osf switch:

See Also

General MIDL Command-line Syntax, /app_config, /ms_ext, Rpcss Memory Management Model