Open source dbExpress drivers


http://open-dbexpress.sourceforge.net/

This is how we got our dbxoodbc.dll for Petra 2.1:

CVS:
CVSROOT: :pserver:anonymous@cvs.sourceforge.net:/cvsroot/open-dbexpress
module: dbxoodbc
version: 3.0.19, checkout by date 19/08/2004.

apply this patch to make it compile:

Index: DbxObjectParser.pas
===================================================================
RCS file: /cvsroot/open-dbexpress/dbxoodbc/DbxObjectParser.pas,v
retrieving revision 1.6
diff -u -r1.6 DbxObjectParser.pas
--- DbxObjectParser.pas    6 Aug 2004 09:35:46 -0000    1.6
+++ DbxObjectParser.pas    19 Aug 2004 11:50:40 -0000
@@ -238,7 +238,8 @@
   nil,//eDbmsTypeClipper
   nil,//eDbmsTypeBtrieve
   nil,//eDbmsTypeOpenIngres
-  nil //eDbmsTypeProgress
+  nil,//eDbmsTypeProgress
+  nil //eDbmsTypeOterroRBase
 );
 
 implementation


Demos/DbExplor:

for testing/debugging the dbxoodbc software, this is a very helpful tool.

this patch needs to be applied to the version from 19/08/2004:


Index: Demos/DbExplor/frmOdbcExplor.pas
===================================================================
RCS file: /cvsroot/open-dbexpress/dbxoodbc/Demos/DbExplor/frmOdbcExplor.pas,v
retrieving revision 1.11
diff -u -r1.11 frmOdbcExplor.pas
--- Demos/DbExplor/frmOdbcExplor.pas    17 Jun 2004 10:57:44 -0000    1.11
+++ Demos/DbExplor/frmOdbcExplor.pas    19 Aug 2004 11:54:54 -0000
@@ -75,7 +75,7 @@
 // _HexEditor_
 // [http://www.torry.net/vcl/edits/diffedits/msthexedit.zip]
 // limitation: need create temporary file for binary data
-{$define _HexEditor_}
+//{$define _HexEditor_}
 
 // _SynEdit_
 // [http://synedit.sourceforge.net]
@@ -87,7 +87,7 @@
 // [http://www.delphi-gems.com/Graphics.php]
 // Need change file "GraphicConfiguration.inc": need
 //       enable: $define UseLZW for support GIF image format.
-{$define _GraphicEx_}
+//{$define _GraphicEx_}
 
 // _DFIXES_
 // Delphi Fixes for "procedure TCustomSQLDataSet.SetSchemaOption" in module "SqlExpr.pas";
@@ -118,9 +118,10 @@
 uses
   DbxOpenOdbcInterface,
   SqlExprFix,
+  Variants,
   {$ifdef _HexEditor_}
   MPHexEditor, MPHexEditorEx,
-  Variants, VarUtils, ComObj,
+  VarUtils, ComObj,
   {$endif ifdef _HexEditor_}
   {$ifdef _SynEdit_}
   SynHighlighterSQL, SynDBEdit, SynEdit,