On Sun, Jan 22, 2012, at 01:13 PM, Mars wrote: > On Sunday, 22 January 2012 at 10:21:29 UTC, DNewbie wrote: > > I've took a look at MySQL headers, the functions use stdcall, > > but in libmysql.dll exports table they are not decorated. > > This means...? > Shouldn't it at least compile, if they are listed in the def > file, coming from the lib? >
You should add 'extern(Windows)', but it would not work anyway. Can someone confirm the oplink does not handle this type of module (undecorated stdcall functions)?