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'
请教各位如何解决?
[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'
请教各位如何解决?