Thread overview | |||||
---|---|---|---|---|---|
|
June 29, 2006 coffimplib error with libmysql.dll under windows | ||||
---|---|---|---|---|
| ||||
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 Re: coffimplib error with libmysql.dll under windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tim Keating | 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 Re: coffimplib error with libmysql.dll under windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tim Keating | 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
|
Copyright © 1999-2021 by the D Language Foundation