Recent

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

majid.ebru

  • Sr. Member
  • ****
  • Posts: 494
[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

  • Sr. Member
  • ****
  • Posts: 370
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 2.0.8 FPC 3.0.4 Linux Mint Mate 19.3
Zeos 7̶.̶2̶.̶6̶ 7.1.3a-stable - Sqlite 3.32.3 - LazReport

majid.ebru

  • Sr. Member
  • ****
  • Posts: 494
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?!?!

balazsszekely

  • Guest
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: 494
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: 14201
  • Probably until I exterminate Putin.
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.
Specialize a type, not a var.

 

TinyPortal © 2005-2018