www.digitalmars.com         C & C++   DMDScript  

D - db question

reply Felipe Valdez <Felipe_member pathlink.com> writes:
hi guys, 
here is a simple question for the experts:

how easy would it be for the D programming language to comunicate 
with mysql?, is that possible?, does that work now?
how can I do that? (im not asking for code here, just simple directives on wich
libraries to use or what to do, this isnt a homework or anything, im just
courious)
Feb 14 2004
parent reply Sean Kelly <sean ffwd.cx> writes:
Check out the MySQL website, there is at least one API for it available 
there.  Also, I'm pretty sure ODBC works with MySQL, in which case you 
could use the API that ships with VC++.


Sean
Feb 14 2004
parent reply "C" <dont respond.com> writes:
Hmm, I didnt find any D wrappers on the MySql site.  Your best bet is to
read over the C to D part of the manual, and convert the mysql headers ( the
straight C api ).  I never use ODBC but i'm interested on how to use it for
D.

C


"Sean Kelly" <sean ffwd.cx> wrote in message
news:c0lvgp$18r4$1 digitaldaemon.com...
 Check out the MySQL website, there is at least one API for it available
 there.  Also, I'm pretty sure ODBC works with MySQL, in which case you
 could use the API that ships with VC++.


 Sean
Feb 14 2004
parent Sean Kelly <sean ffwd.cx> writes:
C wrote:
 Hmm, I didnt find any D wrappers on the MySql site.  Your best bet is to
 read over the C to D part of the manual, and convert the mysql headers ( the
 straight C api ).  I never use ODBC but i'm interested on how to use it for
 D.
Oops, this is what I meant. You'll have to convert the headers yourself. It shouldn't be too painful. Sean
Feb 14 2004