Subject Re: [firebird-support] fb_interpret documented
Author Nick Upson
This (extract) still gives me errors about "passing argument 3 of
âfb_interpretâ from incompatible pointer type" yet the isc_ version just
complains about being depreciated

#define ERRBUFFSIZE 500

char errbuff[ERRBUFFSIZE];
ISC_STATUS *pvector;
if (status_vector[0] == 1 && status_vector[1])
{
/* firebird error messages, see isc_interprete in API documentation */
pvector = status_vector; /* (Re) set to start of status
vector */

fb_interpret(errbuff, ERRBUFFSIZE, pvector); /* retrieve
first message */
/* isc_interprete(errbuff, &pvector); */ /* retrieve first
message */


2009/5/13 Vlad Khorsun <hvlad@...>

> Nick Upson wrote:
> > as it's depreciated, I want to get rid of isc_interprete, but
> fb_interpret
> > has an additional parameter and I've been unable to find any
> documentation
> > regarding this
>
> This is the size of passed buffer. It was explained here recently.
>
> Regards,
> Vlad
>
>
> ------------------------------------
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Yahoo! Groups Links
>
>
>
>


[Non-text portions of this message have been removed]