Thread overview
coffimplib error with libmysql.dll under windows
Jun 29, 2006
Tim Keating
Jun 29, 2006
Phoenix
Jun 29, 2006
James Pelcis
June 29, 2006
I have been trying to convert the MySQL DLL on Windows to OMF format using coffimplib so I can use it in D. When I run the tool, it invariably gives me an error: "missing archive signature". I can't fathom what this means, and I can't get the tool to give me any kind of meaningful output. Anyone have any thoughts as to what I'm doing wrong here?

Thanks!
TK


June 29, 2006
Tim Keating napsal(a):
> I have been trying to convert the MySQL DLL on Windows to OMF format using
> coffimplib so I can use it in D. When I run the tool, it invariably gives me an
> error: "missing archive signature". I can't fathom what this means, and I can't
> get the tool to give me any kind of meaningful output. Anyone have any thoughts
> as to what I'm doing wrong here?
> 
> Thanks!
> TK
> 
> 
dll isn't in OMF format, and cannot be converted. you meant converting import lib to OMF?
June 29, 2006
coffimplib is meant for Microsoft's .lib files, not a dll.  What you need to do is

implib /s libmysql.lib libmysql.dll

The /s is necessary for C linkage.

Tim Keating wrote:
> I have been trying to convert the MySQL DLL on Windows to OMF format using
> coffimplib so I can use it in D. When I run the tool, it invariably gives me an
> error: "missing archive signature". I can't fathom what this means, and I can't
> get the tool to give me any kind of meaningful output. Anyone have any thoughts
> as to what I'm doing wrong here?
> 
> Thanks!
> TK