Search found 6 matches

by mja2112
Thu May 07, 2009 8:15 pm
Forum: wxCode
Topic: database layer resultset
Replies: 0
Views: 1015

database layer resultset

Hello all- I'm using database layer with sqlite and MySQL- Is it possible to have two result sets active on one db at the same time? I created two builds - one that uses sqlite and one that uses MySQL- and having two result sets active in sqlite works no problem, but in MySQL- i get an exception : &...
by mja2112
Mon Mar 09, 2009 4:15 pm
Forum: wxCode
Topic: DatabaseLayer as a DLL
Replies: 7
Views: 3585

Fixed

Fixed!

I downloaded msvc express 2008- rebuilt wxwidgets and databaselayer (I was using the builds from wxpack).
Setup codeblocks to use the ms compiler and everything works now.
by mja2112
Sat Mar 07, 2009 8:29 pm
Forum: wxCode
Topic: DatabaseLayer as a DLL
Replies: 7
Views: 3585

DLL

I have the same issue. I am using codeblocks with wxwidgets from wxpack. Did you compile widgets yourself? I have also noticed I can't create any new wxwidgets projects using the static build- if I do I get a bunch of undef refs at link. databaselayer is the exact opposite- it can create the static ...
by mja2112
Fri Mar 06, 2009 9:00 pm
Forum: wxCode
Topic: databaselayer dll
Replies: 1
Views: 1151

databaselayer dll

I'm using databaselayer to access a mysql database- and as long as I use the static link version it works fine. I can't however build the dll version of databaselayer- it builds the .o files ok but never produces the dll files: Linking dynamic library: ..\lib\vc_dll\wxcode_msw28d_databaselayer_mysql...
by mja2112
Wed Jan 28, 2009 2:00 am
Forum: wxCode
Topic: databaselayer help
Replies: 2
Views: 1774

database layer

Thanks!!

mgruber4 wrote:You must add ODBC32.LIB to the linker input libraries.
You also must have the Microsoft SDK installed.
by mja2112
Thu Jan 22, 2009 5:59 pm
Forum: wxCode
Topic: databaselayer help
Replies: 2
Views: 1774

databaselayer help

Hi all- I'm a nube but getting along well learning wxwidgets. I wanted to try the database layer component but I'm getting link errors: C:\Database Layer\databaselayer_src_1.7.5\databaselayer\src\OdbcResultSet.cpp||In member function 'virtual bool OdbcResultSet::IsFieldNull(int)':| C:\Database Layer...