digitalmars.D - coffimplib error with libmysql.dll under windows
- Tim Keating (7/7) Jun 29 2006 I have been trying to convert the MySQL DLL on Windows to OMF format usi...
- Phoenix (3/13) Jun 29 2006 dll isn't in OMF format, and cannot be converted. you meant converting
- James Pelcis (5/13) Jun 29 2006 coffimplib is meant for Microsoft's .lib files, not a dll. What you
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
Jun 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! TKdll isn't in OMF format, and cannot be converted. you meant converting import lib to OMF?
Jun 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
Jun 29 2006