Menu

TestPlugInRunner with a DLL Project - Error

Help
Trey Moore
2008-05-07
2013-04-22
  • Trey Moore

    Trey Moore - 2008-05-07

    I have a DLL-based project I wish to test in Visual Studio 2005.
    I used the CPPUNIT_PLUGIN_IMPLEMENT() macro and everything compiles fine.  I can even see the 'cppunitTestPlugIn' function export in my DLL.  However, I am getting an error message when I load the dll with the TestPlugInRunner.

    The error message is "Fail to load dynamic library myTest.dll-hotrunner. The specifed module could not be found."

    Does anyone know what this means?

    Thanks,
    Trey

     
    • atn

      atn - 2008-06-20

      I've had the same problem and thanks to strace I've found the problem! :)
      You should specify relative or absolute path to your dll, i.e. instead of somefile.dll try ./somefile.dll

       

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.