Error and Warning Message Formats
Command-line errors appear in the following format:
Command line error : MIDLnnnn: <error text>
[<additional error information>]
The additional error-information field provides context-specific information depending on the error message. For example, when an unresolved type-declaration error occurs, the additional error-information field displays the name of the type that could not be resolved.
Compile-time warnings appear in the following format:
<FileName>(line#) : warning MIDLnnnn:
<warning text>
[optional context information]:
Compile-time errors appear in the following format:
<FileName>(line#) : error MIDLnnnn:
<error text>
[optional context information] :
Optional context information refers to the context in which the error occurred. It is generated when the MIDL compiler discovers an error during semantic analysis of type and procedure signatures. The MIDL compiler reports this information to help you find the error in the IDL file quickly.
System error messages appear in the following format:
<FileName>(line#) : MIDL error 0xnnnn:
"Unexpected internal compiler problem. Try to find a workaround."
This message is generated by an error that was unexpected. The hexadecimal error number is a Windows XP, Windows 2000, Windows NT, Windows 98, or Windows 95 system error identifier. You may find additional information in Winerror.h or Ntstatus.h. For more information on working around the conditions that caused this error, see the error text for compiler error MIDL9008.