THANKS!
I should have noticed that. All fixed.
Search found 13 matches
- Sun Jul 05, 2009 8:28 pm
- Forum: C++ Development
- Topic: WxString Help
- Replies: 5
- Views: 1512
- Sun Jul 05, 2009 7:32 pm
- Forum: C++ Development
- Topic: WxString Help
- Replies: 5
- Views: 1512
Thanks for the replys - but No-Go! Auria: I tried mb_str() and GetData() but both would not compile, like c_str(), reporting that those functions are not valid: error: request for member ‘GetData’ in ‘catName’, which is of non-class type ‘const wxString*’ You indicated that GetData() worked - can yo...
- Sun Jul 05, 2009 4:28 pm
- Forum: C++ Development
- Topic: WxString Help
- Replies: 5
- Views: 1512
WxString Help
I would like help with a wxString problem. I have lookup functions that return values stored in wxArrayInt and wxArrayString. But the wxString returned will not display correctly in outputs (LogMessage and wxListCtrl). I'm sure it is something simple, but I'm just not getting it! My problem is that ...
- Sun Jun 28, 2009 2:02 pm
- Forum: Compiler / Linking / IDE Related
- Topic: PropertyGrid Header Missing
- Replies: 2
- Views: 1257
- Sat Jun 27, 2009 4:01 pm
- Forum: Compiler / Linking / IDE Related
- Topic: PropertyGrid Header Missing
- Replies: 2
- Views: 1257
PropertyGrid Header Missing
It appears I do not have PropertyGrid in my install - what do need to do to get it? #include <wx/propgrid/propgrid> - results in "No such file" compiler error. I searched /usr/include/wx-2.8/wx; and the files are not present. I am running wx2.8.10 (Linux Unicode) Code::Blocks SVN 5678. Cou...
- Fri Apr 03, 2009 1:07 am
- Forum: wxCode
- Topic: DatabaseLayer No Results
- Replies: 5
- Views: 2941
- Thu Apr 02, 2009 1:47 am
- Forum: wxCode
- Topic: DatabaseLayer No Results
- Replies: 5
- Views: 2941
I added logic to create a new table and insert three records into that new table using DatabaseLayer. I verified the new table is correct Exists and has the inserted records using Sqlite3 command line access. Then changed the SELECT stmt to read from the new table in the code provided in a previous ...
- Mon Mar 30, 2009 4:56 pm
- Forum: wxCode
- Topic: DatabaseLayer No Results
- Replies: 5
- Views: 2941
SQLite3
The database was populated from the command line interface; which I also used to verify the contents. So your idea is a possibility. I would hope encoding is not the answer, but I need to learn writing to the database anyway. I will try loading data using DatabaseLayer and see if that makes a differ...
- Sun Mar 29, 2009 5:09 pm
- Forum: wxCode
- Topic: DatabaseLayer No Results
- Replies: 5
- Views: 2941
DatabaseLayer No Results
My first attempt at using DatabaseLayer is not working for me - I'm sure I'm doing something wrong and probably stupid. See code. I have a Sqlite3 database with 3 rows. The [select * from contacts] Query with Results seems to return nothing - steps through the while() only once not finding the data ...
- Sun Mar 22, 2009 4:33 pm
- Forum: wxCode
- Topic: Get Database Layer to Work
- Replies: 8
- Views: 4459
Lib and Header File Locations
This might be a little bit off topic, and dumb. Where on Linux (Ubuntu) should I place the databaselayer library files and header files? What is the norm? I downloaded and built the databaselayer in: /usr/share/doc/databaselayer - Maybe that was a mistake. Can I safely copy (or should I create a sym...
- Thu Mar 19, 2009 12:57 am
- Forum: wxCode
- Topic: Get Database Layer to Work
- Replies: 8
- Views: 4459
Fixed
You are correct - I was expecting the files to appear in /usr/lib; but they are where you said they would be. The files are: libwxcode_gtk2_databaselayer_mysql-2.8.so libwxcode_gtk2_databaselayer_sqlite-2.8.so Am I correct assuming the "2.8" refers to the version of wxWidgets and not mysql...
- Wed Mar 18, 2009 2:00 am
- Forum: wxCode
- Topic: Get Database Layer to Work
- Replies: 8
- Views: 4459
Making headway
That GNUmakefile was an improvement. I ran it (unmodified) for mysql and it did a bunch of compiles, etc. but I don't think it completed satisfactorily. I ran it as because the first time I tried it gave a fatal error due to permission denied: sudo make GNUmakefile mysql But it did not write any &qu...
- Mon Mar 16, 2009 8:15 pm
- Forum: wxCode
- Topic: Get Database Layer to Work
- Replies: 8
- Views: 4459
Get Database Layer to Work
I'm new to wxWidgets and Database Layer. As a hobby program I want to write a program that allows the end-user to choose either SQLite3 or MySQL as the database engine. It looks like "Database Layer" is just the ticket - but I seem to be missing something (knowledge). I tried the make -f G...