[fpc-devel] Unwanted finalization

Ludo Brands ludo.brands at free.fr
Sat Oct 13 18:26:56 CEST 2012


> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typinfo.diff
Type: application/octet-stream
Size: 2071 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20121013/9471c122/attachment.obj>


More information about the fpc-devel mailing list