Andrew, you may handle CHAR as a CSTRING type in clarion counting the CSTRING length as CHAR + 1 .
Regards Pablo On 1/12/20 10:34 PM, 'Andrew Zenz' and...@aimsoftware.com.au [firebird-support] wrote: > Hi all, > > 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 > > 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 “ > > 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? > > Thanks. > > Andrew Zenz > > ------------------------------------ ------------------------------------ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Visit http://www.firebirdsql.org and click the Documentation item on the main (top) menu. Try FAQ and other links from the left-side menu there. Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ------------------------------------ Yahoo Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/firebird-support/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/firebird-support/join (Yahoo! ID required) <*> To change settings via email: firebird-support-dig...@yahoogroups.com firebird-support-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: firebird-support-unsubscr...@yahoogroups.com <*> Your use of Yahoo Groups is subject to: https://info.yahoo.com/legal/us/yahoo/utos/terms/