* * *

Author Topic: [SOLVED] sqlite3.dll not loaded?  (Read 1078 times)

majid.ebru

  • Sr. Member
  • ****
  • Posts: 361
[SOLVED] sqlite3.dll not loaded?
« on: March 10, 2018, 05:18:09 am »
Hi

i use "sqlite3.dll" in my program.

i run my program in windows xp x86 ... and evrey thing is OK.

but when i run this program in my laptop(Windows 7 x64) i have error?

when i updated to Lazarus 1.8 , this error occured
« Last Edit: March 14, 2018, 04:42:23 am by majid.ebru »

GAN

  • Full Member
  • ***
  • Posts: 186
Re: sqlite3.dll not loaded?
« Reply #1 on: March 10, 2018, 07:14:20 am »
It's because you are trying tu use a 32 bit version of SQLite on  Win7 x64. You must Download from https://sqlite.org/download.html 64-bit DLL (x64).
Lazarus 1.6 FPC 3.0.0 Linux Mint Mate 17.2 x86_64 GTK-2
Zeos 7.1.3 - Sqlite 3.8.2

Foro Lazarus en español http://forum.lazarus.freepascal.org/index.php/board,73.0.html

majid.ebru

  • Sr. Member
  • ****
  • Posts: 361
Re: sqlite3.dll not loaded?
« Reply #2 on: March 10, 2018, 07:42:03 am »
i 'll try that.

but when i have Lazarus 1.6 my program worked?!?!

GetMem

  • Hero Member
  • *****
  • Posts: 3160
Re: sqlite3.dll not loaded?
« Reply #3 on: March 10, 2018, 08:21:37 am »
Make sure your bitness of your exe and dll match.

majid.ebru

  • Sr. Member
  • ****
  • Posts: 361
Re: sqlite3.dll not loaded?
« Reply #4 on: March 10, 2018, 09:12:09 am »
Make sure your bitness of your exe and dll match.

what is "bitness" ?

Thaddy

  • Hero Member
  • *****
  • Posts: 6736
Re: sqlite3.dll not loaded?
« Reply #5 on: March 10, 2018, 09:16:06 am »
8,16 32, 64 bit. In case of sqlite 32 bit or 64 bit dll's.
Ada's daddy wrote this:"Fools are my theme, let satire be my song."

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus