Manfred Hansen wrote:
Hello,
i have make a MySQL Binding for Linux.
http://www.steinmole.de/d/
Manfred, great work !! I tested it on my Gentoo box and it worked like
a charm.
I have only run my little test program, so
the mysql.d binding must be more checked.
I can see where we would want to wrap some more "D" functionality around
things like:
row = mysql_fetch_row(result)
to make row[i] return char[] instead of being zero-terminated.
Es ist �brigens mein erstes Programm was ich ver�ffentliche.
Ich hab es unter die LPGL Lizenz gestellt.
Keine Ahnung ob das �berhaupt erlaubt ist, soweit ich geh�rt
habe muss das unter die selbe Lizenz wie die MySQL Datenbank stehen.
Sei es drumm.
Brad Anderson wrote:
Manfred Hansen wrote:
Hello,
i have make a MySQL Binding for Linux.
http://www.steinmole.de/d/
Manfred, great work !! I tested it on my Gentoo box and it worked like
a charm.
Nice to hear that.
I have only run my little test program, so
the mysql.d binding must be more checked.
I can see where we would want to wrap some more "D" functionality around
things like:
row = mysql_fetch_row(result)
to make row[i] return char[] instead of being zero-terminated.
Yes that is a good idea.
Es ist �brigens mein erstes Programm was ich ver�ffentliche.
Ich hab es unter die LPGL Lizenz gestellt.
Keine Ahnung ob das �berhaupt erlaubt ist, soweit ich geh�rt
habe muss das unter die selbe Lizenz wie die MySQL Datenbank stehen.
Sei es drumm.
Manfred Hansen wrote:
Hello,
i have make a MySQL Binding for Linux.
http://www.steinmole.de/d/
I have only run my little test program, so
the mysql.d binding must be more checked.
Es ist �brigens mein erstes Programm was ich ver�ffentliche.
Ich hab es unter die LPGL Lizenz gestellt.
Keine Ahnung ob das �berhaupt erlaubt ist, soweit ich geh�rt
habe muss das unter die selbe Lizenz wie die MySQL Datenbank stehen.
Sei es drumm.
"Manfred Hansen" <manfred toppoint.de> wrote in message
news:c56i8l$2o7i$1 digitaldaemon.com...
i have make a MySQL Binding for Linux.
http://www.steinmole.de/d/
Great! I've added it to www.digitalmars.com/d/dlinks.html
"Manfred Hansen" <manfred toppoint.de> wrote in message
news:c56i8l$2o7i$1 digitaldaemon.com...
Hello,
i have make a MySQL Binding for Linux.
http://www.steinmole.de/d/
I noticed that in this, you added mysql_fetch_hash. I would suggest, for
the reason that PHP uses it, you use or alias mysql_fetch_assoc.
As well, you say "for linux" - what barriers are there to this working on
windows?
Thanks,
-[Unknown]
Unknown W. Brackets wrote:
"Manfred Hansen" <manfred toppoint.de> wrote in message
news:c56i8l$2o7i$1 digitaldaemon.com...
Hello,
i have make a MySQL Binding for Linux.
http://www.steinmole.de/d/
I noticed that in this, you added mysql_fetch_hash. I would suggest, for
the reason that PHP uses it, you use or alias mysql_fetch_assoc.
Yes, i can do this, maybe we get anytimes an "dbi" or wrapper interface so
that there can use the name mysql_fetch_hash.
As well, you say "for linux" - what barriers are there to this working on
windows?
I am not familiar with Windows, so i didn't try this.
The mysql library is compiled with Visual C++.
dmd -c mysql.d makes an Object File, but i can't
linking the programm.
Please let me know if you sucsessfully linking the programm.
Thanks,
-[Unknown]
Manfred Hansen wrote:
I am not familiar with Windows, so i didn't try this.
The mysql library is compiled with Visual C++.
dmd -c mysql.d makes an Object File, but i can't
linking the programm.
Please let me know if you sucsessfully linking the programm.
Thanks. I've read that the problem here is that you cannot link in
libraries compiled with anything but dmd/dmc. My problem is I'm not
sure where to start on compiling MySQL's lib with dmc.
Perhaps, however, this will be of some help to you.
-[Unknown]