www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - lib file format

reply "Chris" <ctlajoie hotmail.com> writes:
hi, i'm trying to use libmySQL.lib to create a MySQL interface for D. the 
lib file is in the wrong format apparently, how do i convert it to one that 
D can use?

thanks
chris 
Oct 25 2004
next sibling parent Charlie <Charlie_member pathlink.com> writes:
You can recompile it using DMC , or easiest, use 'implib' to generate a stub
library from the .dll, then link against the generated lib.

Someone has written mysql bindings already but its for the straight C interface,
are you looking to build a high level lib on top of this ?  

Charlie

In article <cljii0$2v2d$1 digitaldaemon.com>, Chris says...
hi, i'm trying to use libmySQL.lib to create a MySQL interface for D. the 
lib file is in the wrong format apparently, how do i convert it to one that 
D can use?

thanks
chris 
Oct 25 2004
prev sibling parent reply J C Calvarese <jcc7 cox.net> writes:
In article <cljii0$2v2d$1 digitaldaemon.com>, Chris says...
hi, i'm trying to use libmySQL.lib to create a MySQL interface for D. the 
lib file is in the wrong format apparently, how do i convert it to one that 
D can use?

thanks
chris 
Someone may have already done the work for you. Have you seen this page? http://www.prowiki.org/wiki4d/wiki.cgi?DatabaseBindings jcc7
Oct 25 2004
parent "Chris" <ctlajoie hotmail.com> writes:
thanks, i'll probably have more questions later, i can't get the mysql 
bindings to compile (perhaps because they were designed to be used on 
linux?) 
Oct 25 2004