www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Re: MySQL

reply DNewbie <run3 myopera.com> writes:
Please check whether your MySQL lib is 64 bit and your app is 32 bit.


On Sat, Jan 21, 2012, at 10:38 PM, Mars wrote:
 Hello everyone.
 I've been trying to use MySQL in an application on Windows, but I 
 always get
 Symbol Undefined _mysql_init

problem might be. I've tried several libs, and tried to compile it myself (always converted using coffimplib), but it fails, no matter what. I've also tried to make a def file out of the lib, and the functions are definitly listed as exports there. Any idea what I might doing wrong? Mars

-- D
Jan 21 2012
parent "Mars" <- -.-> writes:
On Saturday, 21 January 2012 at 23:44:12 UTC, DNewbie wrote:
 Please check whether your MySQL lib is 64 bit and your app is 
 32 bit.

The lib is 32 bit, just like my application.
Jan 21 2012