Search found 7 matches

by nalamar
Wed Mar 25, 2009 11:32 am
Forum: C++ Development
Topic: Select-Query with int-var
Replies: 5
Views: 790

Thank you very much.

But both of your snippets lead to errors, so i guess i'll stay with the pointers, which works fine for me.
by nalamar
Wed Mar 25, 2009 10:39 am
Forum: C++ Development
Topic: Select-Query with int-var
Replies: 5
Views: 790

Thank you, im very new, making strange things may happen :) To learn how to make it better is why im posting here :) Changing my Code to your advice without pointer, brought me to this errors, how may i fix them ? wxString fname; int firma = 1; fname = kdata->GetString(firma); m_firma->SetValue(wxSt...
by nalamar
Wed Mar 25, 2009 10:04 am
Forum: C++ Development
Topic: Select-Query with int-var
Replies: 5
Views: 790

Select-Query with int-var

Hi there, i have a small problem with with my query. void GUIFrame::FillData(int fkdr) { wxString EnMaxDB = wxGetCwd() + _T("/db/enmax.db"); wxSQLite3Database* db = new wxSQLite3Database(); db->Open(EnMaxDB); wxSQLite3ResultSet* kdata = new wxSQLite3ResultSet(); *(kdata) = db->ExecuteQuery("select *...
by nalamar
Thu Mar 19, 2009 10:11 pm
Forum: C++ Development
Topic: `wxSQLite3ResultSet' to `int' in assignment
Replies: 1
Views: 502

`wxSQLite3ResultSet' to `int' in assignment

Hi there, im new to wxsqlite, and i guess thats a really noob problem, but what i have to do to compare integers with an result ? Here is my code: wxString EnMaxDB = wxGetCwd() + _T("/db/enmax.db"); wxSQLite3Database* db = new wxSQLite3Database(); db->Open(EnMaxDB); wxSQLite3ResultSet* kdrmax = new ...
by nalamar
Thu Mar 19, 2009 1:28 pm
Forum: Compiler / Linking / IDE Related
Topic: undefined reference problem in CodeBlocks
Replies: 3
Views: 920

Solved it, i guess

I compiled wxsqlite another time, and Compared all FLAGS, now it runs ... problably i set wx_shared=1 instead of shared=1 during first compiling ....

For the moment i dont have any Errors Compiling.

Thx, Jan
by nalamar
Thu Mar 19, 2009 10:55 am
Forum: Compiler / Linking / IDE Related
Topic: undefined reference problem in CodeBlocks
Replies: 3
Views: 920

CodeBlocks is installed with MinGW and using your advice resultet in this: ld.exe||cannot find -lwxcode_msw28_wxsqlite3| Edit: I added the u to cause i compiled everything with unicode support, which leads to the same problems as i insert it directly .... This is one of over the errormessages E:\wxs...
by nalamar
Thu Mar 19, 2009 2:01 am
Forum: Compiler / Linking / IDE Related
Topic: undefined reference problem in CodeBlocks
Replies: 3
Views: 920

undefined reference problem in CodeBlocks

Hi there, first of all, i know that this is an linker-error, but i can't fix it on my own ... maybe im just blind. I'm Using Windows Vista, with CodeBlocks 8.02, wxwidgets 2.8.9, wxsqlite3 1.9.4 As is startet trying to include wxsqlite, my problems startet. I compiled it with the same option as i co...