Re: [fpc-pascal] Interfaces works in FPC 2.6.4 but not in 3.0.2

2017-05-07 Thread Marcos Douglas B. Santos
On Sat, May 6, 2017 at 7:37 PM, Graeme Geldenhuys wrote: > var > cmd: ICmdLineParams; > begin > if Supports(fpgApplication, ICmdLineParams, cmd) then // Never works > begin > ... > end; > end. > > > fpgApplication is a global instance of TfpgApplication. > > The line marked with

[fpc-pascal] Interfaces works in FPC 2.6.4 but not in 3.0.2

2017-05-06 Thread Graeme Geldenhuys
Hi, I have CORBA style interfaces. My projects using them work perfectly in FPC 2.6.4, but if I compile the project with FPC 3.0.2, I never get a interface reference. My class hierarchy is as follows: {$interfaces corba} ICmdLineParams = interface ['{EDF51E67-1119-11E6-B131-C86000E37EB0