Subject Re: [Firebird-Architect] External Engines (and Plugins)
Author Adriano dos Santos Fernandes
Dmitry Yemanov escreveu:
> You're arguing that mixing C++ and Delphi is generally a bad idea and
> having different engines for them would make things easier for users,
> right? Could you please enumerate (again?) what would Delphi users have
> to code themselves in order to have their functions working inside a C++
> engine? Is it required even for simple functions that don't access the
> database?
1) Create a class derived from Function (will check, but may/should be
changed to ExternalFunction)
2) Create a class derived from FunctionFactory
3) Create the FunctionFactory instance
4) Register it (in initialization) through fbCppEngRegFunction


Adriano