QQ登录

只需要一步,快速开始

 注册地址  找回密码
查看: 3313|回复: 0
打印 上一主题 下一主题

MIDL compiler error and warning messages

[复制链接]
字体大小: 正常 放大

6

主题

1

听众

36

积分

升级  32.63%

该用户从未签到

新人进步奖

跳转到指定楼层
1#
发表于 2004-7-15 17:16 |只看该作者 |倒序浏览
|招呼Ta 关注Ta
<>This section lists MIDL compiler error and warning messages.</P>
" f1 ^0 d' ]- I. R, A' q" u# L<>An error or warning message sometimes specifies the name of one or more MIDL compiler mode switches. The MIDL compiler accepts an IDL file when you use some mode switches but generates errors for the same file when you do not use mode switches. For example, you can include ACF attributes in an IDL file when you use the /app_config switch, but that IDL file will generate an error if you compile without using the /app_config switch.
3 V. V+ j' Z; T/ uCommand-line errors appear in the following format:</P>
$ n4 C0 ]3 G1 x1 ?<>Command line error : MIDLnnnn : &lt;error text&gt;
% l2 {1 [$ r5 z  j% m) a% a1 U. o[&lt;additional error information&gt;]
+ R5 a. d2 D; V </P>
# E% ^4 a7 d# m7 f: x7 h2 F9 L  m<>The additional-error information field provides context-specific information about the error. The information in this field depends on the error message. For example, when an unresolved type-declaration error occurs, the additional-information field displays the name of the type that could not be resolved.4 W, \2 _0 _/ R1 q; J' g
Compile-time warnings appear in the following format:</P>
# W5 V4 m& t% E, v8 l8 o<>&lt;FileName&gt;(line#) : warning MIDLnnnn :  7 X7 W5 [  \% @/ a# U; {
&lt;warning text&gt;
2 V! N1 \9 t: q! [6 k[optional context information] :
+ [. T) g9 |9 m, G$ C </P>
4 g. r, B) ~9 ^' @; ?<>Compile-time errors appear in the following format:</P>" `: y) R1 b, `9 g0 R  l% ]% I
<>&lt;FileName&gt;(line#) : error MIDLnnnn :  2 ^9 l! S9 U2 c3 ^' U
&lt;error text&gt;1 A( t7 l5 }( F" _# m- X
[optional context information] :
( @% O/ c7 {0 r! b </P>
1 i! W# a& c- Q( O7 ^' I' N<>Optional context information refers to the context in which the error occurred. The MIDL compiler reports this information to help you quickly find the error in the IDL file. Context information is generated when the MIDL compiler discovers an error during semantic analysis of type and procedure signatures.</P>+ \% ~  r$ e' b3 L9 z
<>MIDL1000 : missing source file name</P>
$ a9 Y( c8 b$ D2 s; i0 V4 h5 y) {<>No input file has been specified in the MIDL compiler command line.</P>
1 I! T4 v$ q, y% ^<>MIDL1001 : cannot open input file</P>
2 `; q" h6 ~; i1 r. y/ z<>The input file specified could not be opened.</P>9 h& `- U& Z! o6 R3 @& U' ]
<>MIDL1002 : error while reading input file</P>
! _$ J( o, y1 w9 ^* y& e. A<>The system returned an error while reading the input file.</P>8 G- O$ H# \* s# J  X: ~, l5 h
<>MIDL1003 : error returned by the C preprocessor</P>6 c9 |* }& S' t, Q! n+ H- W
<>The preprocessor returned an error. The error message is directed to the output stream.</P>$ {7 q  Z* _/ n( r+ O8 n7 W
<>MIDL1004 : cannot execute C preprocessor</P>
! Q. p5 F; `) J# |% A  v<>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.</P>. o" N. Q3 Q; X
<>MIDL1005 : cannot find C preprocessor</P>3 V+ P7 h6 c6 d8 ~2 z. Y; ~
<>The MIDL compiler cannot locate the preprocessor in the specified path or in the path specified by the PATH environment variable.</P>) U' T5 o' F$ a' b$ p0 N  N
<>MIDL1006 : invalid C preprocessor executable</P>
5 y" Y% Y1 A& u" V, }- Y0 Y, E<>The specified preprocessor is not executable or has an invalid executable-file format.</P>
3 a  E$ o* g  @5 Y# n' \; L<>MIDL1007 : switch specified more than once on command line</P>; }$ {; M0 O7 v' p# `
<>A switch has been redefined. The redefined switch is displayed after the error message.</P>
zan
转播转播0 分享淘帖0 分享分享0 收藏收藏0 支持支持0 反对反对0 微信微信
您需要登录后才可以回帖 登录 | 注册地址

qq
收缩
  • 电话咨询

  • 04714969085
fastpost

关于我们| 联系我们| 诚征英才| 对外合作| 产品服务| QQ

手机版|Archiver| |繁體中文 手机客户端  

蒙公网安备 15010502000194号

Powered by Discuz! X2.5   © 2001-2013 数学建模网-数学中国 ( 蒙ICP备14002410号-3 蒙BBS备-0002号 )     论坛法律顾问:王兆丰

GMT+8, 2026-4-20 06:15 , Processed in 0.437157 second(s), 52 queries .

回顶部