SQLite Forum

dll file not found in 64 bit pc application developped in 32 bil pc
Login

dll file not found in 64 bit pc application developped in 32 bil pc

(1) By anonymous on 2021-01-22 11:43:25 [link] [source]

I developped application in visual studio on bit windows , target pc is 64 bit can i embeded dll files so than no error sqllite-data dll not found

(2) By Larry Brasfield (LarryBrasfield) on 2021-01-22 17:41:09 in reply to 1 [link] [source]

Visual Studio has been capable of targeting the 64-bit Intel/AMD CPU for years now. If you have that dev tool in a recent version, you just have to select that platform target. If your version cannot do that, either get a current version or use the GNU toolchain built to do that.

This is not really on-topic in this SQLite forum.

(3) By anonymous on 2021-01-22 21:31:03 in reply to 1 [source]

The bitness of SQLite3.DLL and your application must match.

1.In Visual Studio with your project opened, click on Solution Explorer, choose the Add option, then the Existing Item option. This will open the FileOpen dialogue.

2.Find and select SQLite3.DLL on your computer.

3.SQLite3.DLL will now show in the Solution Explorer tree.

4.Right click on SQLite3.DLL and select the Properties option.

5.Change the Copy Output to Directory option to have the value Copy if newer.

6.Clean and Rebuild your solution.

This should resolve your SQLite3.DLL not found error.