Ah, you have missing dependancies. You need to make sure that the dependencies can be loaded. When Windows attempts to load the module all the dependencies must be loaded as well, otherwise the loader cannot return a handle to the loaded module. If no module handle is returned then the message "Module not found" is returned because sqlite3_load_extension does not actually check whether the module exists, but only whether or not it was loaded.
So if the module exists and you get the message that it was not found, that is because it could not be loaded ... use depends.exe to see what other dll's are required and either put them on the path or in the same directory ... -- The fact that there's a Highway to Hell but only a Stairway to Heaven says a lot about anticipated traffic volume. >-----Original Message----- >From: sqlite-users <sqlite-users-boun...@mailinglists.sqlite.org> On >Behalf Of Jose Isaias Cabrera >Sent: Tuesday, 26 November, 2019 13:45 >To: SQLite mailing list <sqlite-users@mailinglists.sqlite.org> >Subject: Re: [sqlite] Passing a path to sqlite3.exe to load a dll > >> >> > >Keith Medcalf, on Tuesday, November 26, 2019 03:38 PM, wrote... >> >> >> What is the canonical name of the file you are trying to load? > >c:\PMOProjects\libsqlite3decimal.dll > >As shown by the dir command, > >15:40:36.57>dir c:\PMOProjects\libsqlite3decimal.dll > Volume in drive C is Windows > Volume Serial Number is 40AA-E472 > > Directory of c:\PMOProjects > >11/26/2019 02:19 PM 225,376 libsqlite3decimal.dll > 1 File(s) 225,376 bytes > 0 Dir(s) 431,761,633,280 bytes free > > >> It seems that you are being told that >"c:\PMOProjects\libsqlite3decimal.dll" does not exist. > >But it is there, > >15:40:48.95>dir c:\PMOProjects > Volume in drive C is Windows > Volume Serial Number is 40AA-E472 > > Directory of c:\PMOProjects > >11/26/2019 03:40 PM <DIR> . >11/26/2019 03:40 PM <DIR> .. >11/26/2019 02:19 PM 225,376 libsqlite3decimal.dll >11/25/2019 09:21 AM 3,446,300 PMOProjs.exe >11/22/2019 02:17 PM 926,748 PMOUpdater.exe >10/04/2019 11:30 AM 932,223 sqlite3.dll > 4 File(s) 5,530,647 bytes > 2 Dir(s) 431,760,363,520 bytes free > >15:43:18.90> > > >> Are you sure that the file exists and that you have permission to >read/execute it? > >Aaaah, permissions... Hmmmm... I created this in cygwin, and copied it to >that directory. Let me try something... > >_______________________________________________ >sqlite-users mailing list >sqlite-users@mailinglists.sqlite.org >http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users