Someone told abstract Delphi classes was compatible with the C++ vtable, but FPC wasn't.
I did some tests and detected that FPC class with or without virtual methods has a pointer in its start. >From this pointer, however, the vtable is not compatible with C++. But we can autogenerate classes for good usage in Delphi/FPC if we put a dummy pointer both in our vtable (the template demo) and in object instances. This way we can generate classes (also inherited from base classes) for FB interfaces. Otherwise, a very raw approach with record and function pointers are required, which make things really weird for developers. These friendly class serves also to Delphi developers implement interfaces, i.e., write plugins or external routines. I can create a Windows DLL with the C++ code and instruct someone to do a Delphi interoperability test. Are there someone willing to help? Adriano ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
