07.08.2014 15:50, Dimitry Sibiryakov wrote:
> where IInterfaceVMT is struct { void (*realMethod)(void*, IStatus*, a, b, c); 
> }

   Oh, I forgot to write implementation of realMethod:

void realMethod(IInterface* this, IStatus* s, a, b, c)
{
        try
        {
                this->Method(a, b, c);
        }
        catch(Firebird::StatusException& ex)
        {
                ex.stuff(s);
        }
}

-- 
   WBR, SD.

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to