Recent

Author Topic: SQL Error : library routine called out of sequence  (Read 6354 times)

gelinp

  • Full Member
  • ***
  • Posts: 114
SQL Error : library routine called out of sequence
« on: November 20, 2015, 08:24:26 am »
Good morning,

My application is running without problems with Linux and wine onto the same laptoop with debian jessie. But with window 7 professionnel on an other PC I've got the error message :

SQL Error : library routine called out of sequence

I don't know if I forget to copy some libraries or if it's a problem with compiler target options... The only one library I've got with my application typodoc.exe is :

sqlite3.dll

And win32 compilation come with lib/i386-win32 directory with some stuff (*.o, myapplication.comîled...). May be I need an other specific windows DLL library ?

Thank you for your advice.
My configuration is : Lazarus 1.6+dfsg-1 / FPC 3.0.0 / Debian Mint / x86_64-linux-gtk2

kapibara

  • Hero Member
  • *****
  • Posts: 571
Re: SQL Error : library routine called out of sequence
« Reply #1 on: November 21, 2015, 09:18:07 am »
Dont know if your case is the same, but something similar (with zeos) was being discussed here:

http://forum.lazarus.freepascal.org/index.php?topic=12072.0
Lazarus trunk / fpc 3.2.2 / Kubuntu 21.10 - 64 bit

LacaK

  • Hero Member
  • *****
  • Posts: 660
Re: SQL Error : library routine called out of sequence
« Reply #2 on: November 21, 2015, 09:52:42 am »
I guess, that it is porblem related to sequence of calls to SQLite API.
So error appears between calls to SQLite API, not at first call, right ?

 

TinyPortal © 2005-2018