11.08.2014 20:20, Jim Starkey wrote: > A COM solution would be to have all methods return a COM object (null for > success if no succes return is required), which could be either a proper > result object or an error object. But it would require a queryInterface to > determine which. There other ways to handle this, like separate call to > fetch an error object if a non-object return indicated an error, etc.
Usual solution is returning HRESULT which may be a plain error code or a handle of error object that can be questioned later. Delphi/FPC have a special calling convention for this. -- WBR, SD. ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel