Web lists-archives.org

Re: [Mingw-users] using .lib with mingw




avarlamov wrote:

> I have some libraries as .lib and .h files. How i can use it in my
> application with mingw.

Using a .lib shouldn't be any different than using any other library. 
-lfoo will match foo.lib, or you can just specify the name/path to
foo.lib directly on the link command.

I suspect what you may be encountering is a actually a difference
between stdcall function decoration conventions, which is unrelated to
the fact that the library is named .lib.  You can cope with this in a
variety of ways.  We need more details (like the exact set of commands
you run and the exact messages that result) though before being able to
say anything more.

Brian

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users