Search found 74 matches

by bone
Mon May 07, 2012 11:54 am
Forum: Announcements and Discoveries
Topic: ANN : Release of wxEMail 1.0 (Beta)
Replies: 8
Views: 5134

Re: ANN : Release of wxEMail 1.0 (Beta)

I have just put the smtp component in a project using oSX 10.7.x, xCode 4.2, clang and wxWidgets trunk. There were several compiler errors and warnings, two of which were fixed by the above info. I still cannot get it to compile unless I comment a line in tokenizer.h template<typename DelimCont> Co...
by bone
Thu May 03, 2012 2:49 pm
Forum: Announcements and Discoveries
Topic: ANN : Release of wxEMail 1.0 (Beta)
Replies: 8
Views: 5134

Re: ANN : Release of wxEMail 1.0 (Beta)

I have just put the smtp component in a project using oSX 10.7.x, xCode 4.2, clang and wxWidgets trunk. There were several compiler errors and warnings, two of which were fixed by the above info. I still cannot get it to compile unless I comment a line in tokenizer.h template<typename DelimCont> Con...
by bone
Sat Jan 07, 2012 12:01 am
Forum: wxCode
Topic: Next DatabaseLayer release
Replies: 22
Views: 9093

Re: Next DatabaseLayer release

I have used it for Firebird only and had to make many code changes after the last release because of memory leaks, unhandled errors and others. I did send an email to the maintainer but got no reply so maybe it didn't get through.

Good potential in the code so I continue with it.
by bone
Tue Aug 03, 2010 9:58 am
Forum: wxCode
Topic: FirebirdDatabaseLayer 1.8 TranslateErrorCodeToString
Replies: 0
Views: 740

FirebirdDatabaseLayer 1.8 TranslateErrorCodeToString

in wxString FirebirdDatabaseLayer::TranslateErrorCodeToString(...) there is a line if (nCode < -900) //Error codes less than -900 indicate that it wasn't a SQL error but an ibase system error This is surely wrong as it doesn't work for many SQL messages. I did post about this previously for 1.7 but ...
by bone
Tue Jul 20, 2010 1:44 pm
Forum: wxCode
Topic: FirebirdDatabaselayer 1.8 problems
Replies: 2
Views: 930

Ah, I see the log message in DatabaseLayer::CloseResultSets(). It is misleading because it is actually cleaning up. However, it shouldn't be cleaning up if project code is right. Because FirebirdResultSet::Close() is public it can be called from project code either directly or through delete Firebir...
by bone
Tue Jul 20, 2010 1:22 am
Forum: wxCode
Topic: FirebirdDatabaselayer 1.8 problems
Replies: 2
Views: 930

Also when an application exits in debug build there are many of these messages:
"ResultSet NOT closed and cleaned up by the DatabaseLayer dtor"
VC++8 MSW Vista 32 & 64
I haven't had time to look at why but something has changed since the last version.
by bone
Sun Jul 18, 2010 1:13 pm
Forum: wxCode
Topic: FirebirdDatabaselayer 1.8 problems
Replies: 2
Views: 930

FirebirdDatabaselayer 1.8 problems

In FirebirdDatabaselayer 1.8 there are some conversions to and from void pointers in the code that are not cast at all. Surprisingly it works in 32bit but 64bit is not compilable. void* m_pDatabase = isc_db_handle var isc_db_handle var = void* m_pDatabase void* m_pTransaction = isc_tr_handle var isc...
by bone
Mon May 03, 2010 1:19 am
Forum: wxCode
Topic: DatabaseLayer SetDateTimeFromTm bug
Replies: 1
Views: 880

This is what I ended up with although it probably still needs a check for valid data before adding 1900 to the year in the SQL_TIMESTAMP and SQL_TYPE_DATE branches. Regards, John wxDateTime FirebirdResultSet::GetResultDate(int nField) { ResetErrorCodes(); wxDateTime dateReturn = wxInvalidDateTime; X...
by bone
Tue Apr 20, 2010 10:55 am
Forum: wxCode
Topic: DatabaseLayer and MySQL
Replies: 9
Views: 2482

Your error list is because Firebird is the first to be compiled in the makefile and you have not supplied a path to ibase.h This is one of the reasons I use VC. The projects can be easily compiled individually. When I used GCC I imported the VC project I wanted into codeblocks to allow single databa...
by bone
Tue Apr 20, 2010 9:33 am
Forum: wxCode
Topic: DatabaseLayer and MySQL
Replies: 9
Views: 2482

I would take it as problem solved then except that you have marked my reply as an assisting answer rather than an accepted answer. Is there something else missing here?
by bone
Tue Apr 20, 2010 7:30 am
Forum: wxCode
Topic: DatabaseLayer and MySQL
Replies: 9
Views: 2482

You have not been specific about what went wrong but this may help You will need to modify makefile.gcc for 2.9 Search for these lines and set WX_UNICODE := 1 WX_VERSION := 29 WX_MONOLITHIC := 0 set to 1 only if you use a monolithic wxWidgets build WX_DIR := $(WXWIN) chagne this to the dir 2.9 is in...
by bone
Tue Apr 20, 2010 5:23 am
Forum: wxCode
Topic: Next DatabaseLayer release
Replies: 22
Views: 9093

My hurried mistake. Should have been Databaselayer next release.
by bone
Mon Apr 19, 2010 3:32 pm
Forum: wxCode
Topic: Next DatabaseLayer release
Replies: 22
Views: 9093

I suggest you read "databaselayer_documentation_1.7.5.zip/html/compiling.html".

This topic/thread is about the next firebird release and if you have no success compiling then start a new thread/topic with your question.
Regards, John
by bone
Sat Apr 17, 2010 9:40 am
Forum: wxCode
Topic: Next DatabaseLayer release
Replies: 22
Views: 9093

Sorry no. I have done it with Firebird only using VC9 and IIRC with gcc on Windows less recently.
by bone
Sat Apr 17, 2010 4:05 am
Forum: wxCode
Topic: Next DatabaseLayer release
Replies: 22
Views: 9093

I have no problem compiling against Trunk version. Looks like fbclient_ms.lib / fbclient.dll or ibase.h is not found or supplied.
John