[fpc-devel] Unwanted finalization

Yury Sidorov jura at cp-lab.com
Sat Oct 13 19:17:32 CEST 2012


Committed in r22638. Thanks.

----- Original Message ----- 
From: "Ludo Brands" <ludo.brands at free.fr>
To: "'FPC developers' list'" <fpc-devel at lists.freepascal.org>
Sent: Saturday, October 13, 2012 7:26 PM
Subject: Re: [fpc-devel] Unwanted finalization


> Hello,
>
> The declaration of ITypeInfo.Invoke() is broken now anyway. Some of
> out parametrs should accept nil values and it is not possible
> with the
> current declaration. I doubt that ITypeInfo.Invoke() is used 
> directly
> by user code. Especially in this broken form.
>

I completely agree. According the MSDN the last 3 out parametes can be 
nil.

Attached is the patch that works for me. I'm writing a fpc COM server 
called
with late binding from PHP.

Ludo



--------------------------------------------------------------------------------


> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
> 



More information about the fpc-devel mailing list