On 23.01.2015 19:49, Dimitry Sibiryakov wrote: > #include "firebird/Interface.h" > > void foo(IStatus* status) > { > ISC_STATUS err[] = {isc_arg_gds, isc_random, isc_arg_string, > (ISC_STATUS)(intptr_t) "Shit > happened"}; > status->setErrors2(FB_NELEM(err), err); > }
#include <firebird/Interface.h> using namespace Firebird; void foo(IStatus* status) { ISC_STATUS err[] = {isc_arg_gds, isc_random, isc_arg_string, (ISC_STATUS)(intptr_t) "Shit happened"}; status->setErrors2(sizeof(err) / sizeof(err[0]), err); } ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel