Thread overview | ||||||
---|---|---|---|---|---|---|
|
February 14, 2004 db question | ||||
---|---|---|---|---|
| ||||
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) |
February 14, 2004 Re: db question | ||||
---|---|---|---|---|
| ||||
Posted in reply to Felipe Valdez | 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 |
February 14, 2004 Re: db question | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean Kelly | 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 > |
February 14, 2004 Re: db question | ||||
---|---|---|---|---|
| ||||
Posted in reply to C | 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
|
Copyright © 1999-2021 by the D Language Foundation