CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
花落谁家,你作主! 盛大widget设计大赛英雄榜
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  PowerBuilder >  基础类

〓〓〓 为何编译COM总是出错??? 〓〓〓

楼主nasy(!!!###东方不败###!!!)2002-01-23 09:20:36 在 PowerBuilder / 基础类 提问

错误LOG文件如下:请指点  
   
  CGEN:   Compiling   'd:\_tmpguid.cpp'  
  d:\_tmpguid.cpp(25)   unable   to   open   'objbase.h'    
  d:\_tmpguid.cpp(26)   unable   to   open   'initguid.h'    
  d:\_tmpguid.cpp(30)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpguid.cpp(32)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpguid.cpp(34)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpguid.cpp(36)   syntax   error;   probable   cause:   missing   ';'    
  CGEN:   Compiling   'd:\_tmpclas.cpp'  
  d:\_tmpintf.h(33)   unable   to   open   'unknwn.h'    
  d:\_tmpintf.h(33)   included   from   d:\_tmpclas.h(29)    
  d:\_tmpintf.h(33)   included   from   d:\_tmpclas.cpp(27)    
  d:\_tmpintf.h(34)   unable   to   open   'oaidl.h'    
  d:\_tmpintf.h(35)   unable   to   open   'ole2.h'    
  d:\_tmpintf.h(38)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpintf.h(40)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpintf.h(42)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpintf.h(44)   typedef   'interface'   defined   without   an   explicit   type    
  d:\_tmpintf.h(44)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpintf.h(47)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpintf.h(49)   'In_forms'   is   not   a   function    
  d:\_tmpintf.h(62)   syntax   error    
  d:\_tmpclas.h(32)   unable   to   open   'pbgrunif.h'    
  d:\_tmpserv.h(28)   unable   to   open   'pbgreslt.h'    
  d:\_tmpserv.h(31)   unable   to   open   'pbgtypif.h'    
  d:\_tmpserv.h(34)   unable   to   open   'pbgrunif.h'    
  d:\_tmpserv.h(40)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpserv.h(41)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpserv.h(47)   unable   to   open   'pbgtypes.h'    
  d:\_tmpserv.h(51)   unable   to   open   'pbgrunif.h'    
  d:\_tmpserv.h(86)   typedef   'PBRESULT'   defined   without   an   explicit   type    
  d:\_tmpserv.h(86)   too   many   errors:   compilation   aborted    
  CGEN:   Compiling   'd:\_tmpserv.cpp'  
  d:\_tmpintf.h(33)   unable   to   open   'unknwn.h'    
  d:\_tmpintf.h(33)   included   from   d:\_tmpclas.h(29)    
  d:\_tmpintf.h(33)   included   from   d:\_tmpserv.cpp(23)    
  d:\_tmpintf.h(34)   unable   to   open   'oaidl.h'    
  d:\_tmpintf.h(35)   unable   to   open   'ole2.h'    
  d:\_tmpintf.h(38)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpintf.h(40)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpintf.h(42)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpintf.h(44)   typedef   'interface'   defined   without   an   explicit   type    
  d:\_tmpintf.h(44)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpintf.h(47)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpintf.h(49)   'In_forms'   is   not   a   function    
  d:\_tmpintf.h(62)   syntax   error    
  d:\_tmpclas.h(32)   unable   to   open   'pbgrunif.h'    
  d:\_tmpserv.h(28)   unable   to   open   'pbgreslt.h'    
  d:\_tmpserv.h(31)   unable   to   open   'pbgtypif.h'    
  d:\_tmpserv.h(34)   unable   to   open   'pbgrunif.h'    
  d:\_tmpserv.h(40)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpserv.h(41)   syntax   error;   probable   cause:   missing   ';'    
  d:\_tmpserv.h(47)   unable   to   open   'pbgtypes.h'    
  d:\_tmpserv.h(51)   unable   to   open   'pbgrunif.h'    
  d:\_tmpserv.h(86)   typedef   'PBRESULT'   defined   without   an   explicit   type    
  d:\_tmpserv.h(86)   too   many   errors:   compilation   aborted    
  CGEN:   Linking...  
  FILE 问题点数:100、回复次数:7Top

1 楼ericzhangali(另一个空间)回复于 2002-01-23 09:28:16 得分 40

看看包含文件的路径设置。  
  如果没少";"那就是前面问题引起的了。Top

2 楼nasy(!!!###东方不败###!!!)回复于 2002-01-23 09:48:30 得分 0

我就一个文件,放在d:\,还要哪里设置路径吗???  
  Top

3 楼ericzhangali(另一个空间)回复于 2002-01-23 11:06:47 得分 0

在PB的编译环境里啊。Top

4 楼nasy(!!!###东方不败###!!!)回复于 2002-01-23 11:12:46 得分 0

是指的library   list??  
      还是其他地方??Top

5 楼fallstone(天蓝)回复于 2002-01-24 13:20:41 得分 60

上浮Top

6 楼fallstone(天蓝)回复于 2002-01-24 13:26:49 得分 0

//*@@*/Top

7 楼fallstone(天蓝)回复于 2002-01-24 14:30:43 得分 0

高手何在?Top

相关问题

  • DBGridEh1.Columns.State := csDefault;中为何编译出错?
  • 为何此程序编译出错了?
  • 为什么我编译总是出错?
  • 编译出错
  • 编译出错??
  • 编译出错!!
  • 编译出错
  • 编译时出错?
  • fieldsbyname 编译出错
  • dll编译出错~~

关键词

  • cpp
  • tmpintf
  • tmpguid
  • tmpclas
  • probable cause
  • missing
  • syntax error
  • unableto open

得分解答快速导航

  • 帖主:nasy
  • ericzhangali
  • fallstone

相关链接

  • PowerBuilder类图书
  • PowerBuilder类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo