Re: [Cppunit-devel] CppUnit 1.9.6 tar ball -- Visual .NET
Brought to you by:
blep
From: Baptiste L. <gai...@fr...> - 2002-04-23 09:29:17
|
Could you specify the failure you get when you include stdafx.h before (windows.h is not supposed to be included if it has already been included) ? Also, try putting all your dll (cppunitd.dll, dllplugintester.exe, bob.dll) in the same directory to run it. Baptiste. ----- Original Message ----- From: "Philippe Lavoie" <phi...@ca...> To: "Baptiste Lepilleur" <gai...@fr...>; <cpp...@li...> Sent: Tuesday, April 23, 2002 12:23 AM Subject: RE: [Cppunit-devel] CppUnit 1.9.6 tar ball -- Visual .NET Hi, I did a cvs update of cppunit and I can't get the testplugin to work for my own project. Everything compiles fine inside the examples .dsw. I can run them, life is good. I've defined CPPUNIT_DLL. Then, I added a cppunitplugin.cpp file with the following content #include <cppunit/plugin/TestPlugIn.h> CPPUNIT_PLUGIN_IMPLEMENT(); // needed for an ATL project // note that cppunit fails if stdafx.h is included before the macro. #include "stdafx.h" Finally, I link with cppunitd_dll.lib. It compiles... but it returns Failed to load test plug-in: Symbol [cppunitTestPlugIn] not found in dynamic libary:Bob.dll This is really weird as simple_plugin works like a charm and I can't see what the missing option could be. Please help Phil _______________________________________________ Cppunit-devel mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppunit-devel |