On Fri, Aug 04, 2017 at 06:05:53AM +0000, Hick Gunter wrote: > >Von: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] Im > >Auftrag von Nico Williams > >But loadable modules are almost never meant to be used that way. > >They're usually meant to be used only through dlopen() and friends. > > Which other method apart from dlopen() would you recommend for > dynamically loaded extensions?
There's only two methods for loading an object dynamically: because you demanded it at link-edit-time, or because you used dlopen() or similar. There are no others, full stop. (You could write your own run-time loader, but you'd still be implementing a dlopen().) > We are using virtual tables to interface with diverse data stores and > make them queryable with SQL. The general interactive shell needs > access to a certain subset of functions, and some speciality tools > have dedicated loadable extensions that should not be accessible > outside of that scope. So? Nico -- _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users