On 13-01-2020 02:34, 'Andrew Zenz' and...@aimsoftware.com.au 
[firebird-support] wrote:
> Not sure where to post this but the mailing-list page says (if you don’t 
> know where to ask, ask here) so here goes.
> 
> We code in a 4GL called Clarion.
> 
> With regard to the Service Parameter Buffer, Clarion doesn’t have a CHAR 
> data type so we use a BYTE and treat it in a similar way, create an 
> array or DIMension

A parameter buffer is effectively an array of bytes (and not (just) 
characters), so that is the correct approach.

> I am attempting to attach to a server using isc_service_attach and keep 
> getting the following error:
> 
> “Invalid clumplet buffer structure: spb in service attach should begin 
> with isc_spb_version1 or isc_spb_version “

That error suggests that the SPB is not well-formed, or at least doesn't 
start with byte 0x01 or 0x02.

> I have created the EQUATE (#define in C) for isc_spb_version1 and 
> isc_spb_version though in my testing I am using the value 2 and don’t 
> seem to be getting anywhere.
> 
> Hoping I have explained it well enough, perhaps someone that has come 
> across this before can enlighten me?

How did you define the SPB?

Mark
-- 
Mark Rotteveel
  • [firebird-suppo... 'Andrew Zenz' and...@aimsoftware.com.au [firebird-support]
    • Re: [fireb... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
      • RE: [f... 'Andrew Zenz' and...@aimsoftware.com.au [firebird-support]
        • Re... Mark Rotteveel m...@lawinegevaar.nl [firebird-support]
          • ... 'Andrew Zenz' and...@aimsoftware.com.au [firebird-support]
    • [firebird-... pablo sanchez pab...@adinet.com.uy [firebird-support]

Reply via email to