11.08.2014 14:37, Alex Peshkoff wrote: >> hide reference counters under >> the hood as well as dealing with exceptions. > > Both not acceptable for us
Why? Do you insist on manual calling of Release by cruelty only or you have some technical reasons? > Will it be OK to return E_NOINTERFACE to FPC's loader of interface? There is no such things as "interface loader". Interface is just a way to declare... err... interface. A passive thing. QueryInterface is called implicitly on typecasts. Returning of E_NOINTERFACE will cause typecast to fail. That's all. > Somebody mentioned place for 3 pointers in the beginning of VT. What are > the second and third? I posted links earlier: http://www.freepascal.org/docs-html/prog/progsu168.html#x212-2250008.2.13 http://www.freepascal.org/docs-html/prog/progsu167.html#x211-2240008.2.12 These are VMTs for classes and objects, not interfaces. Interfaces is a different beast: http://www.freepascal.org/docs-html/prog/progsu37.html#x44-430001.2.37 -- WBR, SD. ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel