[fpc-pascal] Crash at startup with sqlite project
Luiz Americo Pereira Camara
pascalive at bol.com.br
Thu Apr 3 00:46:24 CEST 2008
Felipe Monteiro de Carvalho wrote:
> Hello,
>
> I have a simple project with sqlite 3. It's running on Windows with
> FPC 2.2.0 and svn Lazarus, and my DLL is version is 3_5_7 downloaded
> from official sqlite website.
>
> It crashes at startup at sqlite3ds.pas at:
>
>
> The strange part is that Lazarus runs fine with the sqlite package
> installed and the same dll and also that I had already worked with
> this project with all the same variables (except maybe sligtly
> different sqlite3 version) on another windows xp machine and it all
> worked fine.
>
> Any ideas?
>
The db filename is hardcoded.
See
http://www.geocities.com/camara_luiz/docs/dataset/dataset-tutorial-01.html
to know how to setup a db file dinamically
Luiz
More information about the fpc-pascal
mailing list