Try this: implib /s libmysql.lib libmysql.dll Then change extern(Windows) to extern(C). (That's how I usually have it set up) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20110115/4def6973/attachment-0001.html>