I strongly recommend the Dev-C++ development environment for Windows.  You
-can- use the pre-built DLL if you take a couple of simple steps:

1. Set your path so that it includes your Dev-C++ bin folder
(c:\dev-cpp\bin on the default distribution).

2. In the folder where you have the sqlite3.dll file, issue the command:
   dlltool -D sqlite3.dll -d sqlite3.def -l libsqlite3.a

3. Copy the libsqlite3.a file to your libs folder, by default c:\dev-cpp\lib

4. Download the sqlite3 source archive and copy sqlite3.h to
c:\dev-cpp\include

5. Copy sqlite3.dll to a place within the path, such as your system32 folder.

I have performed these steps and they have worked very well for me.  The
light weight Dev-C++ environment is well suited to the light weight
sqlite3 database engine.

Clay Dowling

Rubens Jr. said:
> Hi !
>
> Wich compiler do you recomend to use to compile sqlite3.0.8 in Windows ?
> I have used LCC-Win32, but I have to change. The last version are buggy :(
> My application has sqlite build in, so I got the source and put it all
> together, then
> I can not use the ready made DLL.
> I tried Borland C++ 5.5 (the free version) but it not compile ! It seems
> tha it
> do not suport long long (the source has ifdef BORLAND_C but the
> compiler show a lots of erros about __Int64 and so on :(
> With DEV-CPP all sources compiles with litle warnings, but do not
> generate the DLL
> (and I do not discovered why yet)
> So, what you suggest ?
>
> Thanks
>
> Rubens Jr.
>
>


-- 
Lazarus Notes from Lazarus Internet Development
http://www.lazarusid.com/notes/
Articles, Reviews and Commentary on web development

Reply via email to