[Lazarus] Accessing SQLite under Windows CE Professional

waldo kitty wkitty42 at windstream.net
Fri Nov 20 00:28:38 CET 2009


Felipe Monteiro de Carvalho wrote:
> 2009/11/19 "ArĂ­ Ricardo Ody" <aro52 at gmx.com>
>> Well, how can I inform the full path to the ".db" file and in what directory of the handheld I must put the sqlite3.* files in the way lazarus executable find them?
> 
> For the .db file you need to pass the full path. If you want to use
> the directory where the executable is you can use something like:
> 
> MyDatabaseFilePath := ExtractFilePath(Application.EXEName) + 'mydatabase.db';
> 
> For the .dll files, you can put in \Windows

ugh!! i thought this old problem was taken care to remove pollution from windows 
OS directories :(  is there not a better place to put them??? :?

>> I tried to put them in the same directory of the handheld where the executable is and it seems that there were errors because after appears the logo of the windows ce when it is loading a program nothing happens.
> 
> There is a problem in error showing ... I hope to fix it in the next days.
> 
> --
> Felipe Monteiro de Carvalho
> 
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
> 





More information about the Lazarus mailing list