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

2010-11-10 Thread Michael Van Canneyt
On Wed, 10 Nov 2010, José Mejuto wrote: 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

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

2010-11-10 Thread José Mejuto
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 definit

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

2010-11-10 Thread Michael Van Canneyt
On Wed, 10 Nov 2010, Fred Flinestone wrote: Hello all, I am not able to compile JSON – SuperObject where compiler says this: .../superobject.pas(135,18) Error: No matching implementation for interface method "IUnknown.QueryInterface(constref TGuid,out ):LongInt; CDecl;" found .../superobject

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

2010-11-10 Thread Fred Flinestone
Thanks. On Wed, Nov 10, 2010 at 11:56 AM, Jonas Maebe wrote: > > On 10 Nov 2010, at 11:48, Fred Flinestone wrote: > >> not it stopped to write the error for _AddRef and _Release, but to >> QueryInterface is still the same error present. >> >> What could be a solution? > > http://wiki.freepascal.o

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

2010-11-10 Thread Fred Flinestone
Hello all, I am not able to compile JSON – SuperObject where compiler says this: .../superobject.pas(135,18) Error: No matching implementation for interface method "IUnknown.QueryInterface(constref TGuid,out ):LongInt; CDecl;" found .../superobject.pas(135,18) Error: No matching implementation fo

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

2010-11-10 Thread Jonas Maebe
On 10 Nov 2010, at 11:48, Fred Flinestone wrote: not it stopped to write the error for _AddRef and _Release, but to QueryInterface is still the same error present. What could be a solution? http://wiki.freepascal.org/User_Changes_Trunk#IInterface.QueryInterface.2C_._AddRef_and_._Release_defi