Menu

Using dll

2002-12-10
2012-09-26
  • Nobody/Anonymous

    Hi,
    I have a dll library and def file for this library with names of the function in dll. My question is whether somebody know how to generate import library for this dll

    Regards Wojtek W.

     
    • Anonymous

      Anonymous - 2002-12-11

      I think dlltool will do the trick if this is a C dll. Something like:

      dlltool --dll-name mydll.dll --output-lib libmydll.lib

      If, however, this is a C++ dll compiled with some other compiler (e.g. Visual C++), chances are it won't work. The problem is due to different name-mangling and calling conventions across compilers.

      Hope this helps.

      Regards,
      YR

       

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.