On 15/08/14 08:48, Dimitry Sibiryakov wrote:
> Integers are ok, pointers are ok, interfaces are in trouble
This should probably be written in stone somewhere.

Even simple external calls such as fb_get_master_interface are difficult
enough. You have carefully define each data type used and ensure that
the calling conventions are compatible. Even cdecl starts being a
problem as soon as you get away from simple types - as you have found.

When it comes to an OO interface you also need to align the vtable
navigation and how the instance variable ('this' in c++ ) is passed -
and if the two compilers have different views on this area then there is
not much that can be done.

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

Reply via email to