Hi,

(I hope we are not getting off-topic)

Paul Simpson wrote:
Hi,
[snip]

Try as I might, I cn't get it working, so I think you have the advantage!
I'm trying to get the sample to work first, but I get LOADS of errors at
the linking phase (undefined references to things like sqlite3_free.) Any
ideas?

Config:-
IDE
MinGW Developer Studio 2.05
Files in project
minimal.cpp
wxsqlite.cpp
sqlite3.h
minimal.rc
sqlite3.def


(I'm using Code::Blocks IDE. If you wish I can send sqlite project
file for it. Project file has gcc,vc,bcc,dmc release and debug build targets.)

I think you need an import library. Don't know whether gcc creates it with
def file automatically.

dlltool -dllname sqlite3.dll -d sqlite3.def --output-lib libsqlite3dll.a


I really am lost here, all this C++ stuff is new to me. SQL is old hat
(I've used it with php, java, Access etc etc) and I'm now of the age
(feeling a very old 41!!) where I don't want hassle so I'm not sure that
having direct knowledge of the beast is really beneficial!


There is a big conflict: You don't want hassle and choosed C++ ;)
Seriously, if your project does not need C++ then give a chance to Lua and wxLua.

If you can help me get this working, you really will have my eternal
gratitude.


Let me first sell Code::Blocks to you :) I promise I'll send you a complete wx-sqlite3 sample project!


--
Regards,
Hakki Dogusan

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to