On 10-08-2014 05:30, Dimitry Sibiryakov wrote:
> 10.08.2014 10:20, Dimitry Sibiryakov wrote:
>> they are QueryInterface, AddRef, releaseRef.
> 
>    Oops, I was too quick. Here are details:
> 
> http://www.freepascal.org/docs-html/prog/progsu167.html#x211-2240008.2.12
> http://www.freepascal.org/docs-html/prog/progsu168.html#x212-2250008.2.13
> 

I've read all these details and really found nothing new.

What I'm actually saying is that inserting a dummy entry in instances
and vtable, we make free for use our objects in the languages who uses
such layout with variations.

We do not leave them free to interface directly via they vtable. We
create dispatchers and let a Pascal class with virtual methods just work.

We can create Pascal unit compatible with Delphi and FPC (probably using
a conditional directive to insert or not a dummy variable, but I'm
waiting for a Delphi guy who wants to test), compatible with different
C++ compilers, compatible with C.


Adriano

------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to