[fpc-pascal] Unable to compile JSON SuperObject on FPC 2.5.1

José Mejuto joshyfun at gmail.com
Wed Nov 10 14:49:39 CET 2010

Hello FPC-Pascal,

Wednesday, November 10, 2010, 11:57:52 AM, you wrote:

>>    function QueryInterface(const IID: TGUID; out Obj): HResult;
>> virtual; stdcall;
MVC> The declaration of the IUnknown has been changed on non-windows platforms
MVC> to be XP-COM compatible. You can copy the new definition from the system
MVC> unit, file rtl/inc/objpash.inc. It's just a matter of adding some ifdefs to
MVC> the declaration. The code inside should function OK.

But also in Windows, QueryInterface has been changed to constref, so
something like Zeos 6.6 needs an adjust before compile succesfully. Is
this expected ?

Best regards,

More information about the fpc-pascal mailing list