Re: [sqlite] issue with sqlite + user function + load dll implemented with Qt

2010-05-18 Thread Sylvain Pointeau
a little more details on how I use the extension with sqlite3: In my shell script, I am running sqlite3 on all files of a folder: find "./scripts" -iname "*.sql" | while read sqlfile do echo " -- ${sqlfile}" /usr/local/bin/sqlite3 mydb.db3 < $sqlfile; done and in my sql script, I am loading the

[sqlite] issue with sqlite + user function + load dll implemented with Qt

2010-05-18 Thread Sylvain Pointeau
hello, I am facing a very bizarre issue. I am on mac os x 64 bits. I needed a uuid() function that generates GUID. I created then a dll with Qt like: #include "/usr/local/include/sqlite3ext.h" SQLITE_EXTENSION_INIT1 #include #include extern "C" void sqlite3_uuid(sqlite3_context *context,