C/C++-Compiler Considerations
The MIDL compiler must interoperate with the C compiler and C preprocessor. MIDL does not accept C++ syntax on input. The generated .h file has both C-style and C++-style definitions for interfaces. The following topics describe the requirements for the C compiler.
Send comments about this topic to Microsoft
Build date: 10/26/2012