Hi. Hoping someone is familiar with Firebird and fbclient.dll.
I am attempting to connect to a Firebird service manager using the isc_service_attach function but keep getting caught out on the last parameter, a pointer to a CHAR.
I have tried several approaches, defining it as a CHAR,DIM(128) and as a CSTRING(128) and priming it with the required data and in either case I get an error that it doesn’t start with the correct data; element[1] =2, element[2]=2, element[3]=28 (an identifier for username), etc etc.
The error is: Invalid clumplet buffer structure: spb in service attach should begin with isc_spb_version1 or isc_spb_version
I have posted to the Firebird forum but no-one there has any idea about coding in Clarion, I’m hoping someone here has an idea about Firebird. The only thing they queried was that I started my array at 1, not 0.
AFAICT, I have the preceeding parameters correct, mostly pointers, just the last one, the system parameter buffer I can’t seem to get right.
Apologies if it’s a bit vague, toeing the water to see if anyone might have used fbclient.dll before and steer me in the right direction.
Cheers,
Andrew.