Search found 267 matches

by jb_coder
Mon Jun 30, 2008 8:01 am
Forum: wxCode
Topic: databaselayer wont compile unter linux
Replies: 16
Views: 4908

Hopefully this makefile will work for you.
by jb_coder
Fri Jun 27, 2008 8:06 pm
Forum: wxCode
Topic: databaselayer wont compile unter linux
Replies: 16
Views: 4908

I'll try to have an updated GNUmakefile over the weekend, but here is what needs to be done to generate the new GNUmakefile: install or build the bakefile package create the following directory structure for the databaselayer code (i.e. the SVN tree) wxCode/ build/ components/ databaselayer inside t...
by jb_coder
Fri Jun 27, 2008 6:00 pm
Forum: wxCode
Topic: databaselayer wont compile unter linux
Replies: 16
Views: 4908

Sorry for the delayed response. The seems to be that I've always tested on my local static wxWidgets builds. The bakefile needs to include the shared build targets. I'll see what I can do to get a fixed makefile for that.
by jb_coder
Mon Jun 09, 2008 8:18 am
Forum: wxCode
Topic: databaselayer memory leak?
Replies: 4
Views: 1704

I usually run valgrind on the unit tests under Linux to test for memory leaks but unfortunately it's been a while.
by jb_coder
Wed Jun 04, 2008 8:57 am
Forum: C++ Development
Topic: wxDatabaseLayer -> Firebird -> BLOB Problem
Replies: 3
Views: 1290

wxMemoryBuffer looks like it allocates buffer space in 1024 byte increments. There may be some junk data left in the buffer that is getting interpreted as part of the string. When you write the string into the database, is the null terminator at the end of the string written out to the blob as well?...
by jb_coder
Wed Jun 04, 2008 8:36 am
Forum: wxCode
Topic: databaselayer memory leak?
Replies: 4
Views: 1704

Yes, you are correct.

Great catch! Thanks for finding that bug.
by jb_coder
Mon May 19, 2008 9:08 am
Forum: wxCode
Topic: databaselayer wont compile unter linux
Replies: 16
Views: 4908

What version of wxWidgets are you compiling against?
by jb_coder
Wed Apr 16, 2008 3:16 pm
Forum: C++ Development
Topic: wxStyledTextControl vs. wxScintilla for Syntax Highlighting
Replies: 19
Views: 20441

wyo used to be very active in the wxWidgets community. I wonder why he's "given up on OpenSource".
by jb_coder
Wed Mar 12, 2008 9:04 am
Forum: wxCode
Topic: DatabaseLayer + PostgreSQL compile error
Replies: 2
Views: 1279

I was able to get the code to compile against 8.3 by adding the following before the pg_wchar.h include line.

Code: Select all

#ifndef uint32
#define uint32 wxUint32
#endif
by jb_coder
Wed Mar 12, 2008 8:22 am
Forum: C++ Development
Topic: Connecting to mysql without ODBC
Replies: 7
Views: 1997

"mysql++" You just need to copy the DLL from "C:\Program Files\MySQL\MySQL Server 5.0\bin" (or where ever you installed MySQL) to your programs working directory. "DatabaseLayer" The databaselayer_mysql.lib static library is compiled as "Multi-threaded DLL". ...
by jb_coder
Wed Mar 12, 2008 8:06 am
Forum: wxCode
Topic: Navigation in Databaselayer
Replies: 2
Views: 1175

This is a requested feature, but at this time it is not possible with the existing API.
by jb_coder
Thu Jan 31, 2008 11:20 am
Forum: wxCode
Topic: DatabaseLayer : Feature request
Replies: 10
Views: 4274

Yes, the code works with SQL Server. You need to compile against the latest FreeTDS library. I've used it successfully to retrieve from a SQL Server, but I don't think that blob support is functional yet.
by jb_coder
Fri Jan 25, 2008 10:56 am
Forum: wxCode
Topic: Build error with dbl 1.7.5/sqlite/wx trunk/Unicode
Replies: 2
Views: 1328

Looking at the SVN docs ( http://www.lpthe.jussieu.fr/~zeitlin/wxWindows/docs/wxwin_wxdatetime.html#wxdatetimeparseformat ) it looks like 2.9 has more versions of wxDateTime::ParseFormat(). Maybe if we explicitly set the third parameter to wxDefaultDateTime rather than using the default provided by ...
by jb_coder
Wed Nov 21, 2007 11:00 am
Forum: C++ Development
Topic: DatabaseLayer & Firebird problem
Replies: 6
Views: 1537

Have you tried using the absolute path to the database file?
by jb_coder
Tue Nov 20, 2007 6:51 pm
Forum: C++ Development
Topic: DatabaseLayer & Firebird problem
Replies: 6
Views: 1537

If you're not running a Firebird server, then I think you need to use the fbembed.dll instead of fbclient.dll at runtime.