Menu

SureFire Way to Use ALL MSVC DLL's needed!

OniCore
2003-01-28
2012-09-26
  • OniCore

    OniCore - 2003-01-28

    Hi. I know this is a big topic but before you all say "look elsewhere its been answered" id have to say "no it hasnt".

    Reimp and Dlltools do not seem to convert my own dll properly (which works under MSVC). The library is being included yet it still claims that there are many undefined references.

    Now id like to convert to CPP but i dont like the idea of not being able to use any decent DLL's such as Direct X and the like. Now, maybe im feeding reimp something wrong. I've tried the method suggested on the MingGW site with no effect.

    Is there a surefire, well documented way to use such DLL's? Many thanks!

     
    • upcase

      upcase - 2003-01-28

      Only tried this with the lib for using mysql's dll. The lib was compiled for MSVC and I'm now able to use it with mingw.

      reimp -d -c libmysql.lib
      dlltool -k --def libmysql.def --output-lib libmysql.a --dllname libmysql.dll
      libmysql.a works perfectly, not giving any error. Not sure if this will work with DirectX...

       

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.