Bewerken

Delen via


Files Generated for a COM Interface

For COM interfaces, the MIDL compiler combines all client and object server auxiliary routines and data into a single interface proxy file. This file includes the surrogate entry points for both clients and servers. In addition, the MIDL compiler generates an interface header file, an interface UUID file and an interface registration file. You will use all these files when creating a proxy DLL that contains the code to support the use of the interface by both client applications and object servers. You will also use the interface header file and the interface UUID file when creating the executable file for a client application that uses the interface.

The following topics describe each of the files generated for a custom COM interface, which you identify by including the [object] attribute in the interface attribute list of the IDL file:

For more information, see Application Configuration File (ACF), /app_config, Interface Definition (IDL) File, and Building and Registering a Proxy DLL.