I'm trying to get the extension-functions sqlite3 extension to load. The C file can be found here at the bottom.
I'm running win10 and using VS2015. I have compiled (with no errors) both 32 and 64 bit versions to .dll and tried loading them using the sqlite3 shell with the same error. (Using both 32 and 64 bit versions of the sqlite3.dll file respectively). Below I'm trying to load the extension using 32bit sqlite.
sqlite> select load_extension('C:\sqlite\ext32.dll');
Error: The specified procedure could not be found.
sqlite> select load_extension('C:\sqlite\ext64.dll');
Error: The specified module could not be found.
I used this command for compiling 32bit cl extension-functions.c -link -dll -out:ext32.dll. Then I ran vcvarsall x64 and ran cl extension-functions.c -link -dll -out:ext64.dll for the 64bit version.