Page 1 of 1

ANN: wxSQLite3 3.4.0 released

Posted: Mon Sep 05, 2016 11:30 am
by utelle
Version 3.4.0 of wxSQLite3 has been released mid of August. It supports version 3.14.1 of SQLite. This version is compatible with wxWidgets 2.8.12, wxWidgets 3.0.x, and wxWidgets 3.1.0.

What's new in this release:
  • Upgrade to SQLite version 3.14.1
  • Added method wxSQLite3Statement::GetExpandedSQL
  • Added method wxSQLite3ResultSet::GetExpandedSQL
  • Added the CSV extension module as part of the SQLite3 library with encryption extension
Note 1: The SQLite3 binaries for Windows were removed from the git repository, but can be found as separate downloads. Windows binaries are provided in 32-bit and 64-bit for AES-128 and AES-256.

Note 2: The doxygen generated API documentation is not included any longer in the release downloads. Drop a note, if the API documentation should be made available as a download for offline usage.

Note 3: The premake based build files were modified, so that the SQLite3 library with encryption support will be compiled and statically linked with wxSQLite3 and the sample applications. This ensures that a matching SQLite3 version is used. Pre-generated build files for VC++ 2010/2012/2013/2015 are available for wxWidgets 3.0.x (directory build30) and wxWidgets 3.1.x (directory build31). It is intended to adjust the other build files in this way, too, for a future release.

As always, feedback is welcome.

Regards,

Ulrich

Re: ANN: wxSQLite3 3.4.0 released

Posted: Thu Oct 06, 2016 3:35 pm
by djmig
Hi,
there seems to be some files missing within build31 directory. Building wxSQLite3 for wxWidgets 3.1.1 using build30 with necessary options compiles without error, yet my older console program bound with the resulting libwxcode_osx_cocoau_wxsqlite3-3.1.a and libsqlite3secure.a (I'm on OS X) chokes out "*** Caught unhandled unknown exception; terminating". It was fine before, and has no problem if linked again with previous wxSQLite3 static library.

Here is a snippet:

Code: Select all

  .
  .
  .
int TestConsole::OnExit()
{
  return 0;
}

int TestConsole::OnRun()
{
	const wxString dbFile = wxGetCwd() + wxT("/test.db");
	wxSQLite3Database db;

	db.Open(dbFile);
//	db.Open(dbFile, wxString(wxT("password123")));
//	db.ReKey(wxEmptyString);
	db.ReKey(wxT("password123"));
	db.Close();
    return 0;
}

IMPLEMENT_APP_CONSOLE(TestConsole)

Re: ANN: wxSQLite3 3.4.0 released

Posted: Thu Oct 06, 2016 6:06 pm
by djmig
Sorry, my mistake. Please disregard my post above.
The library was compiled with wrong (older) header files #-o