CnPack Forum


 
Subject: TCnADOConPool错误
2424581
新警察
Rank: 1



UID 40215
Digest Posts 0
Credits 14
Posts 5
点点分 14
Reading Access 10
Registered 2008-5-16
Status Offline
Post at 2008-5-27 00:29  Profile | Blog | P.M. 
TCnADOConPool错误

[Error] CnObjectPool.pas(239): Method 'GetComponentInfo' not found in base class
[Error] CnObjectPool.pas(277): Cannot override a static method
[Error] CnCommon.pas(334): Variable required
[Error] CnCommon.pas(576): Variable required
[Error] CnCommon.pas(576): Variable required
[Error] CnCommon.pas(576): Variable required
[Error] CnCommon.pas(593): Variable required
[Error] CnCommon.pas(593): Variable required
[Error] CnCommon.pas(593): Variable required
[Error] CnCommon.pas(1254): Variable required
[Fatal Error] CnObjectPool.pas(308): Could not compile used unit 'CnCommon.pas'
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2008-5-27 08:39  Profile | Blog | P.M. 
请问您使用的是CVS上最新的内容,还是网站上下载的20080401的zip包?
请检查一下CnObjectPool类是否继承自TCnComponent?
Top
2424581
新警察
Rank: 1



UID 40215
Digest Posts 0
Credits 14
Posts 5
点点分 14
Reading Access 10
Registered 2008-5-16
Status Offline
Post at 2008-6-9 07:24  Profile | Blog | P.M. 
网站上下载的20080401的zip包,
TCnObjectPool = class(TCnCustomObjectPool)
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2008-6-9 08:53  Profile | Blog | P.M. 
烦请再检查一下是否有这个声明?

  TCnCustomObjectPool = class(TCnComponent)

如果有,说明基类是没什么问题的。您是否装过以前的CnPack组件包?如果装了,可能需要先卸载。现在看起来的问题像是CnComponent这个基类可能引用的不是CnPack组件包中的基类,而是其他什么地方的了。
Top
2424581
新警察
Rank: 1



UID 40215
Digest Posts 0
Credits 14
Posts 5
点点分 14
Reading Access 10
Registered 2008-5-16
Status Offline
Post at 2008-6-14 09:42  Profile | Blog | P.M. 
找到问题了,是我的D中引用了老版本的CnPack组件包,非常感谢。
Top
kidking2001
新警察
Rank: 1



UID 40738
Digest Posts 0
Credits 22
Posts 8
点点分 22
Reading Access 10
Registered 2008-8-4
Status Offline
Post at 2008-8-4 21:41  Profile | Blog | P.M. 
这包是做什么用的?名字上看是ADO连接池,用这有啥好处啊?
好像没找到相关的帮助
Top
 




All times are GMT++8, the time now is 2024-11-25 03:09

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.008518 second(s), 7 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP