On Thu, Jun 18, 2009 at 04:53:13PM +0200, Jean-Christophe Deschamps wrote: > Having spent "some" time trying to have this function work with dll > extensions, I've come to the [I hope 'wrong'] conclusion that it's > unusable in such case. Indeed, the docs mentions "statically linked > extension". Can someone confirm it won't auto load extensions when > they reside in dll(s)?
It's obvious from the function prototype (no DLL/DSO file name argument). However, you can use sqlite3_load_extension() instead per-DB connection, OR, you can even do the dlopen(DSO)/dlsym(handle, "sqlite3_extension_init") (or Windows equivalent) yourself to get the xEntryPoint argument for sqlite3_auto_extension(). Nico -- _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users