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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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