vs2010 c++新建ATL项目,然后添加了个ATL简单对象,然后就出现很多错误
7 IntelliSense: 此声明没有存储类或类型说明符 g:\c++\vs2010\firstcom2\firstcom2\resource.h 5
9 IntelliSense: 此声明没有存储类或类型说明符 g:\c++\vs2010\firstcom2\firstcom2\resource.h 6
11 IntelliSense: 此声明没有存储类或类型说明符 g:\c++\vs2010\firstcom2\firstcom2\resource.h 7
5 IntelliSense: 类型转换无效 g:\c++\vs2010\firstcom2\firstcom2\firstclass.h 36
14 IntelliSense: 缺少该指令的 #if g:\c++\vs2010\firstcom2\firstcom2\resource.h 18
1 IntelliSense: 未定义标识符 "CLSID_firstclass" g:\c++\vs2010\firstcom2\firstcom2\firstclass.h 23
6 IntelliSense: 未定义标识符 "firstclass" g:\c++\vs2010\firstcom2\firstcom2\firstclass.h 58
13 IntelliSense: 未定义标识符 "ifdef" g:\c++\vs2010\firstcom2\firstcom2\resource.h 11
2 IntelliSense: 未定义标识符 "Ifirstclass" g:\c++\vs2010\firstcom2\firstcom2\firstclass.h 24
4 IntelliSense: 未定义标识符 "Ifirstclass" g:\c++\vs2010\firstcom2\firstcom2\firstclass.h 35
3 IntelliSense: 未定义标识符 "IID_Ifirstclass" g:\c++\vs2010\firstcom2\firstcom2\firstclass.h 24
8 IntelliSense: 应输入“;” g:\c++\vs2010\firstcom2\firstcom2\resource.h 5
10 IntelliSense: 应输入“;” g:\c++\vs2010\firstcom2\firstcom2\resource.h 6
12 IntelliSense: 应输入“;” g:\c++\vs2010\firstcom2\firstcom2\resource.h 7
求解!