Need OMF MySQL lib that actually f^*&^ works...

Nick Sabalausky a at a.a
Fri Jul 22 13:43:51 PDT 2011


"Nick Sabalausky" <a at a.a> wrote in message 
news:j0b4r1$icb$1 at digitalmars.com...
> Anyone have a known-working Windows OMF library for MySQL? Static or 
> dynamic, I don't care. I've tried fucking everything and I can't get the 
> dang thing to work. Static was a total no-go. With dynamic, using implib I 
> got it to link, but calling any of it resulted in an Access Violation. 
> Using coffimplib, best I could do had one linker error, a missing 
> "_mysql_real_connect". This was all with "Connector/C" v6.0.2. I'd have 
> tried an older version, 5.x, but 6.0.2 is the only version that seems to 
> still exist.
>

Goddamnnit, I think the whole problem was that stupid linking with a C 
"long" issue...

The function mysql_real_connect takes a long, and it's the only part of the 
MySQL interface being used that takes a long. No idea why it still worked on 
Linux, but fingers crossed that a DDMD-style C bridge will fix it...




More information about the Digitalmars-d-learn mailing list