SQLite Forum

You would need to arrange that your application uses the DLL form of SQLite rather than statically linking to it. Then you would need to use (on Windows) the LoadLibrary() function, passing to it the unique (enough [a]) pathname of the DLL built using the SQLite version you choose. On other general purpose platforms, there is similar functionality which you can use. [b]

[a. The pathname need only be unique enough that, in combination with the platform's DLL location rules or your override, the correct DLL is loaded. ]

[b. You can follow the calls made by sqlite3_load_extension() to see how this is done for various platforms. ]