Recent

Author Topic: Compilation error in tiOPF – missing interface implementation  (Read 1929 times)

Wargan

  • New Member
  • *
  • Posts: 48
    • 'This way' site
Compilation error in tiOPF – missing interface implementation
« on: January 23, 2018, 07:45:38 am »
Hello everybody.

I downloaded the tiOPF framework v2.5.0.1229 from the official site.
When I try to compile, I get an error.

tiBaseObject.pas(16,19) Error: No matching implementation for interface method "QueryInterface(constref TGuid;out <Formal type>):LongInt; StdCall;" found

How to fix it?
Lazarus 1.8RC5+ FPC 3.0.4.
Windows 7 x32, RAM 3 Gb.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11384
  • FPC developer.
Re: Compilation error in tiOPF – missing interface implementation
« Reply #1 on: January 23, 2018, 02:45:04 pm »
freepascal defines queryinterface with constref, and old Delphi with just const. Sounds like somebody checked in something delphi only there.

 

TinyPortal © 2005-2018