Menu

Converting a MSVC .LIB to Dev C++ .a library

2002-11-04
2012-09-26
  • Nobody/Anonymous

    Does anyone know how to do this? The .LIB file I have is obviously written for MSVC but I want to use it with DevC ... Can someone please explain if this is possible (with a description of how its done). Thanks for your help.

    - Rav.

     
    • Nobody/Anonymous

      Two questions which might save you a lot of work...

      1) Did you try the lib with Dev-C++ already? Some libs seem to work without any conversion.

      2) Do you happen to know if the lib was written in C or C++? If the latter, there is no way to convert the lib due to different compilers.

      (This does not really answer the question, sorry...)

       
    • Nobody/Anonymous

      hmm im not sure if you just include straight into your project without linker problems
      #pragma comment(lib, "library.dll")
        LoadLibaray("library.dll");
      on the fly

      or  for build time
      or in the linker you type -dictoryoflib/libary.LIB

       
    • Nobody/Anonymous

      Excellent guys, thanks for your help.

      regards,

      - Rav.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.