Keith, I finally managed to use carray this morning. The C++ builder IDE had a facility for entering conditional defines in Project|Options. I had noticed this before asking the question on the c++ builder forum but hadn't realised the -D part of -DSQLITE_EXTRA_INIT=cor_init wasn't required.
Thanks for all your help but would you mind if I haunted you just a little bit longer to clear something up? You sent me an email with SampleExts.zip and wrote When I build my sqlite3.dll (on windows with gcc) I get the following functions for every connection: collation_list row = (0, u'ROT13') collation_list row = (1, u'NUMERICS') ... pragma_function_list() row= (u'aavg', 0) pragma_function_list() row= (u'abs', 1) pragma_function_list() row= (u'acos', 0) .... I don't recognise the above 'list' notation and could find nothing on it when googled. Could you point me to any documentation as I would like to add some functions/collations that would be automatically attached to every database connection. Keith Medcalf wrote > On Tuesday, 22 August, 2017 09:30, curmudgeon < > tam118118@ > > wrote: > >>Your cast did the trick Keith and it compiled fine once I removed the >>'-DSQLITE_EXTRA_INIT=core_init' line but I have no idea how to get >>that directive into the c++ builder application. I've put up a question >>on the c++ builder forum but unanswered as yet. > > Yeah, it must be in there somewhere. Can't help though as I have a deadly > allergy to IDE's. > > In a non-GUI you would specify it as a command line option to the compiler > (actually, to the pre-processor), as in: > > gcc -DSQLITE_EXTRA_INIT=core_init sqlite3.c > > --- > The fact that there's a Highway to Hell but only a Stairway to Heaven says > a lot about anticipated traffic volume. > > > > > _______________________________________________ > sqlite-users mailing list > sqlite-users@.sqlite > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users -- View this message in context: http://sqlite.1065341.n5.nabble.com/Compiling-spellfix-for-sqlite3-tp70656p97036.html Sent from the SQLite mailing list archive at Nabble.com. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users