delphi程序问题:Class TComPort not found. lgnore the error and continue?

来源:百度知道 编辑:UC知道 时间:2024/07/02 12:17:13
打开delphi的.dpr文件出现下面两个错误,寻求原因及解决办法!
多谢啦
Class TdsStatusBar not found. lgnore the error and continue?
NOTE:lgnoring the error may cause components to be deleted or property values to be lost.
Class TComPort not found. lgnore the error and continue?
NOTE:lgnoring the error may cause components to be deleted or property values to be lost.
dfsstatusbar控件包怎么安装到delphi7里面啊

dfsstatusbar控件包包含下列文件:
DFSKbMon.dpr///dfs.inc///DFSKbMon.dll///DFSStatusBar.txt///DFSStatusBarReg.pas///DFSStatusBar.pas///DFSKb.pas///DFSAbout.pas

主要是需要DFSStatusBar控件,我的操作是:component→install component→选的DFSStatusBar.pas→OK→install

然后就报错了:File not found :'DsgnIntf.dcu'

我在网上搜了,好像是delphi5以后的版本里没有这个东西了,应该怎么办啊?多谢

如果你那有短信收发的程序给我一个吧 这样就最好啦,我用的TC35I模块,用delphi写串口来收发短信

您好,

出现这个错误是由于多个类(这里是控件)丢失所致,我给您翻译一下错误信息吧:

Class TComPort not found. lgnore the error and continue?
无法找到类TComPort,忽略这个错误并继续?
Class TdsStatusBar not found. lgnore the error and continue?
无法找到类TdsStatusBar,忽略这个错误并继续?
NOTE:lgnoring the error may cause components to be deleted or property values to be lost.
注意:忽略这个错误可能导致组件被删除或属性值丢失。
Class TComPort not found. lgnore the error and continue?
无法找到类TComPort,忽略这个错误并继续?
NOTE:lgnoring the error may cause components to be deleted or property values to be lost.
注意:忽略这个错误可能导致组件被删除或属性值丢失。

因为您说这个程序是可以下载的,我想可能他的源代码中使用了一些自定义控件,或者您的Delphi安装不完整,或者是他给出的源代码中缺少这两个类。您可以到您下载这个代码的网站看一下有没有相应的信息。

如果您还有疑问,您可以补充问题。谢谢。

====================================================
对问题补充的答复:

很抱歉我这里没有您需要的程序。

我也到网上找了一下,这个文件似乎的确只在Delphi 5 中。并且,您的组件安装步骤也没错。

您给出的控件包中的文件列表来看,这个文件包中应该包含了这个组件的源文件(dpr的工程文件和pas的源代码),您可以尝试用Delphi打开这个工程然后重新编译一下试试。