Microsoft Interface Definition Language
Σημείωση
This topic is about the classic MIDL used for creating RPC and COM interfaces. For MIDL 3.0, which is used to create Windows Runtime (WinRT) types, see Microsoft Interface Definition Language 3.0 reference.
The Microsoft Interface Definition Language (MIDL) defines interfaces between client and server programs. Microsoft includes the MIDL compiler with the Platform Software Development Kit (SDK) to enable developers to create the interface definition language (IDL) files and application configuration files (ACF) required for remote procedure call (RPC) interfaces and COM/DCOM interfaces. MIDL also supports the generation of type libraries for OLE Automation.
MIDL can be used in all client/server applications based on Windows operating systems. It can also be used to create client and server programs for heterogeneous network environments that include such operating systems as Unix and Apple. Microsoft supports the Open Group (formerly known as the Open Software Foundation) DCE standard for RPC interoperability.
When using MIDL with RPC, familiarity with C/C++ programming and the RPC paradigm is required. When using MIDL with COM, familiarity with C++ programming and the RPC paradigm as it applies to COM is required, or alternatively, familiarity with OLE Automation model scripting and type libraries is required.
The appropriate run-time libraries for using MIDL are included with Windows. The MIDL compiler and the components of the RPC development environment are installed when you install the Windows SDK. For more information, see Using the MIDL Compiler and Installing the RPC Programming Environment.
Topic | Description |
---|---|
Overview |
General information about MIDL and the MIDL compiler. |
Using the MIDL Compiler |
Information about using the MIDL compilter to generate RPC stubs. |
Interface Definitions and Type Libraries |
Documentation of RPC-specific interface definitions and type libraries. |
MIDL Command-Line Reference |
Documentation of the MIDL compiler command-line switches. |
MIDL Language Reference |
The MIDL compiler language reference. |