Recent

Author Topic: Compilation error in tiOPF – missing interface implementation  (Read 866 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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6683
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.