March 14, 2005
I only discovers D a few days ago, but already I am considering recoding my game stats tool (AEstats) written in ANSI C. I would love to be able to control a database from my code, though:

Sofar I have been using Cygwin and Linux (Suse/Debian) to create executable for Windows and Linux. Alas ANSI C will probably never interface with MySQL or DB XML.

Has anyone been able to make D use/control a database library like MySQL or DB XML?

For both of these DBs C++ libs exist, but since D is no C++ lib link compatible (from D online manual), I am wondering if there is *any* way to control a "powerful widespread" database from D at all?

Thanx.

AEon
March 14, 2005
AEon wrote:
> I only discovers D a few days ago, but already I am considering recoding my game
> stats tool (AEstats) written in ANSI C. I would love to be able to control a
> database from my code, though:
> 
> Sofar I have been using Cygwin and Linux (Suse/Debian) to create executable for
> Windows and Linux. Alas ANSI C will probably never interface with MySQL or DB
> XML.
> 
> Has anyone been able to make D use/control a database library like MySQL or DB
> XML? 
> 
> For both of these DBs C++ libs exist, but since D is no C++ lib link compatible
> (from D online manual), I am wondering if there is *any* way to control a
> "powerful widespread" database from D at all?
> 
> Thanx.
> 
> AEon

there are some database bindings (I know at least sqlite) on the dool page over at dsource.org. I  think there is also a mySQL binding as well, but I don't know where. So yeah, it's possible. If you have it written in C, then there should be no problems converting over to D