下面这些提示是什么意思,怎样解决,麻烦了!
ompiling resources...
Compiling...
StdAfx.cpp
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0x14'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0x98'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2065: 'IEnumConnectionPoint' : undeclared identifier
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0x3'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0x86'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xfb'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2146: syntax error : missing ')' before identifier 'x'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : warning C4229: anachronism used : modifiers on data are ignored
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xca'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0x86'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0x8c'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xcb'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0x15'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xeb'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xd3'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xa2'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xf6'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xc5'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0x40'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xf'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xdd'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xf4'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xbf'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xe8'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xba'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0x9a'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0x98'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0x8c'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0x16'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xed'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xa1'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2018: unknown character '0xee'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2146: syntax error : missing ';' before identifier 'H'
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2501: 'ZH' : missing storage-class or type specifiers
h:\microsoft visual studio\vc98\include\ocidl.h(911) : error C2530: 'ZH' : references must be initialized
h:\microsoft visual studio\vc98\include\ocidl.h(911) : fatal error C1004: unexpected end of file found
Error executing cl.exe.test.exe - 35 error(s), 1 warning(s)

解决方案 »

  1.   

    StdAfx.cpp 中有不明字符
    好象是这种东西吧!
      

  2.   

    关于stdafx.h的作用:
    Windows和MFC的include文件都非常大,即使有一个快速的处理程序,编译程序也要花费相当长的时间来完成工作。由于每个.CPP文件都包含相同的include文件,为每个.CPP文件都重复处理这些文件就显得很傻了。
          为避免这种浪费,AppWizard和Visual C++编译程序一起进行工作,如下所示:
          AppWizard建立了文件stdafx.h,该文件包含了所有当前工程文件需要的MFC include文件。且这一文件可以随被选择的选项而变化。
          AppWizard然后就建立stdafx.cpp。这个文件通常都是一样的。
          然后AppWizard就建立起工程文件,这样第一个被编译的文件就是stdafx.cpp。
          当Visual C++编译stdafx.cpp文件时,它将结果保存在一个名为stdafx.pch的文件里。 (扩展名pch表示预编译头文件。)
          当Visual C++编译随后的每个.cpp文件时,它阅读并使用它刚生成的.pch文件。 Visual C++不再分析Windows  include文件,除非你又编缉了stdafx.cpp或stdafx.h
      

  3.   

    这个东西全部是头文件ocidl.h第911行出现错误的,检查之
      

  4.   

    原来ocidl.h里有很多乱字符,从安装光盘上找到后覆盖就正常了。这个文件有点怪,滚动条都要拉一段,居然有乱字符的文件(ocidl)容量与原文件显示一样。
      

  5.   

    " unknown character '0x14'"程序中有可能包含了中文的标点,比如语句结尾应该是英文的“;”,你写成了中文的“;”
    检查下先