Preprocessor Errors
The following error messages are generated during preprocessing:
-
MIDL1000 : missing source file name
-
No input file has been specified in the MIDL compiler command line.
-
MIDL1001 : cannot open input file
-
The input file specified could not be opened.
-
MIDL1002 : error while reading input file
-
The system returned an error while reading the input file.
-
MIDL1003 : error returned by the C preprocessor
-
The preprocessor returned an error. The error message is directed to the output stream.
-
MIDL1004 : cannot execute C preprocessor
-
The operating system reported an error when it tried to spawn the preprocessor. With MS-DOS, this error can occur when the argument list exceeds 128 bytes. You can reduce the size of the argument list by using a response file.
-
MIDL1005 : cannot find C preprocessor
-
The MIDL compiler cannot locate the preprocessor in the specified path or in the path specified by the PATH environment variable.
-
MIDL1006 : invalid C preprocessor executable
-
The specified preprocessor is not executable or has an invalid executable-file format.
-
MIDL1007 : switch specified more than once on command line
-
A switch has been redefined. The redefined switch is displayed after the error message.
-
MIDL1008 : unknown switch
-
An unknown switch has been specified on the command line.
-
MIDL1009 : unknown argument ignored
-
The MIDL compiler does not recognize the command-line argument as either a switch, a switch argument, or a filename. The compiler discards the unknown argument and attempts to continue processing.
-
MIDL1010 : switch not implemented
-
The switch is defined as part of the IDL compiler but is not implemented in Microsoft RPC.
-
MIDL1011 : argument(s) missing for switch
-
The switch expected an argument and the argument is not present. Check the appropriate topic for the specified switch in the MIDL Command-line Reference documentation.
-
MIDL1012 : argument illegal for switch /
-
The argument supplied to the specified switch is illegal. Check the appropriate topic for the specified switch in the MIDL Command-line Reference documentation.
-
MIDL1013 : illegal syntax for switch
-
Several command-line switches require a space between the switch and the argument, while other switches require no space between the switch and the argument. The specified command line violates the defined syntax for that switch. Check the appropriate topic for the specified switch in the MIDL Command-line Reference documentation.
-
MIDL1014 : /no_cpp overrides /cpp_cmd and /cpp_opt
-
The cpp_opt command has been supplied along with the /no_cpp switch. The /no_cpp switch takes precedence over the other switches.
-
MIDL1015 : /W0 or /no_warn overrides warning-level switch
-
The W0 or no_warn option has been specified along with the warning-level switch W1, W2, or W3. The /no_warn switch takes precedence over all other warning-level switches.
-
MIDL1016 : cannot create intermediate file
-
The system returned an error when the compiler tried to create an intermediate file.
-
MIDL1018 : out of system file handles
-
The MIDL compiler ran out of file handles while opening a file. This error can occur if too many import files are open and the compiler tries to open an IDL file or an intermediate file.
-
MIDL1020 : cannot open response file
-
The specified response file could not be opened. The file probably does not exist.
-
MIDL1021 : illegal character(s) found in response file
-
A non-printable character has been detected in the response file. The response file should contain valid MIDL command-line switches and arguments.
-
MIDL1022 : mismatch in argument pair for switch
-
The arguments for this switch cannot be used together. Check the appropriate topic for the specified switch in the MIDL Command-line Reference documentation.
-
MIDL1023 : nested invocation of response files is illegal
-
A response file cannot contain the @ command that directs the MIDL compiler to process another response file. Although there is no limit on the number of response files, response files cannot be nested.