安装F2Book时出现如下错误,请教解决方法 ( 积分: 100 )

  • 主题发起人 主题发起人 cockroachhz
  • 开始时间 开始时间
C

cockroachhz

Unregistered / Unconfirmed
GUEST, unregistred user!
按照论坛里的帖子说的步骤,Component->New Component然后选择TTF160_TLB.pas安装,但是却出现如下错误:
[Error] InterfacedObject.pas(24): Declaration of 'QueryInterface' differs from declaration in interface 'IInterface'
[Error] InterfacedObject.pas(24): Undeclared identifier: '_AddRef'
[Error] InterfacedObject.pas(24): Undeclared identifier: '_Release'
[Error] InterfacedObject.pas(32): Incompatible types: 'TComponentClass' and 'Class reference'
[Error] InterfacedObject.pas(13): Unsatisfied forward or external declaration: 'TInterfacedObject.QueryInterface'
[Error] InterfacedObject.pas(14): Unsatisfied forward or external declaration: 'TInterfacedObject.AddRef'
[Error] InterfacedObject.pas(15): Unsatisfied forward or external declaration: 'TInterfacedObject.Release'
[Error] InterfacedObject.pas(18): Unsatisfied forward or external declaration: 'TInterfacedObject.AfterConstruction'
[Error] InterfacedObject.pas(19): Unsatisfied forward or external declaration: 'TInterfacedObject.BeforeDestruction'
[Error] InterfacedObject.pas(20): Unsatisfied forward or external declaration: 'TInterfacedObject.NewInstance'
[Fatal Error] dclusr.dpk(38): Could not compile used unit '../../../../Documents and Settings/Administrator/桌面/COM接口/InterfacedObject.pas'
请教各位如何解决?
 
按照论坛里的帖子说的步骤,Component->New Component然后选择TTF160_TLB.pas安装,但是却出现如下错误:
[Error] InterfacedObject.pas(24): Declaration of 'QueryInterface' differs from declaration in interface 'IInterface'
[Error] InterfacedObject.pas(24): Undeclared identifier: '_AddRef'
[Error] InterfacedObject.pas(24): Undeclared identifier: '_Release'
[Error] InterfacedObject.pas(32): Incompatible types: 'TComponentClass' and 'Class reference'
[Error] InterfacedObject.pas(13): Unsatisfied forward or external declaration: 'TInterfacedObject.QueryInterface'
[Error] InterfacedObject.pas(14): Unsatisfied forward or external declaration: 'TInterfacedObject.AddRef'
[Error] InterfacedObject.pas(15): Unsatisfied forward or external declaration: 'TInterfacedObject.Release'
[Error] InterfacedObject.pas(18): Unsatisfied forward or external declaration: 'TInterfacedObject.AfterConstruction'
[Error] InterfacedObject.pas(19): Unsatisfied forward or external declaration: 'TInterfacedObject.BeforeDestruction'
[Error] InterfacedObject.pas(20): Unsatisfied forward or external declaration: 'TInterfacedObject.NewInstance'
[Fatal Error] dclusr.dpk(38): Could not compile used unit '../../../../Documents and Settings/Administrator/桌面/COM接口/InterfacedObject.pas'
请教各位如何解决?
 
用AnyLib吧,自由界面和报表的完美解决方案。
http://www.anylib.com
 
我也想,但是不是我开发的程序,在维护别人写的程序。。。
 
F1Book的控件,ttf16.ocx 用D7导入并生成 TTF160_TLB.pas 有问题,不能直接使用。
建议 使用D5生成 TTF160_TLB.pas ,然后覆盖到D7中。
 
我没有D5,您有没有生成好的TTF160_TLB.pas ,有的话请发一个给我,谢谢您了。我的邮箱:luqianren@sina.com
 
后退
顶部