[fpc-devel] don't you think it's time toupdatedelphimodecompatibility? - IDispatch, implements

Matthias Hryniszak matthias at hryniszak.de
Sat May 28 18:49:51 CEST 2005

----- Original Message ----- 
From: "Tomas Hajny" <XHajT03 at mbox.vol.cz>
To: "FPC developers' list" <fpc-devel at lists.freepascal.org>
Sent: Saturday, May 28, 2005 11:10 AM
Subject: Re: [fpc-devel] don't you think it's time 
toupdatedelphimodecompatibility? - IDispatch, implements

> Bisma Jayadi said:
>>>> Some known missing functionality:
>>>> 1 implements style delegation
>>>> 2 vararray support is patchy.
>>>> 3 customvariants are missing in the rtl
>>>> 4 packages
>>>> 5 dispinterfaces and dispid.
>>>> 6 assembler routines have some constructs that are not supported.
>>> Can you tell which one(s) are missing then ?
>> Mostly caused by number 2, 3, and 6.

I don't get it. Variant support (after "using" variants unit) works good, 
custom variants is a mistery for me right now and assembler routines are not 
to be used in end-classes/methods/functions because of portability issues. 
Other thing is with the dispinterfaces and interfaces at all. The DO WORK 
perfectly in delphi but they are more than tricky in FPC (even though the 
support for interfaces has been greatly improved in 2.0). So in my opinion 
interfaces (which are the one-and-only) possibility for exporting "classes" 
from DLLs should be the most important thing to fix.

Besides I find that FPC 2.0 makes the executables just to big. Even though I 
compressed them with UPX -9 they are still bigger than the one compiled with 
delphi. This is the one thing I really dislike in freepascal. Besides the 
lack of real working interfaces I find FPC my favourite pascal compiler.


More information about the fpc-devel mailing list