[Cppunit-devel] Get error with 1.10.2 that didn't append with 1.9.14 ...
Brought to you by:
blep
From: <nic...@ya...> - 2004-06-22 15:00:49
|
Hi, I just want to warn you, this message is about an "ugly" procedure to have a MFC test runner to test a CONSOLE application ;-P It was a king of exercice I did for fun. But when repeating it with 1.10.2, I get an error. Here is how this is done: I had a new configuration to the project. Add CPPUNIT_DLL, RTTI, cppunitd_dll.lib. I also add /DLL and check "Doesn't produce .LIB" and change the name of the ouput file from .exe to .dll (dit I said Ugly? lolol) In the project I add PlugIn.dll which only have CPPUNIT_PLUGIN_IMPLEMENT() in it. With 1.9.14, I'm able to load the dll and run tests ! héhé. (ugly but working) With 1.10.2, the plug in is loaded if there is no test suite registered, but as soon as I put a testsuite, the dll failed loading. Can anybody have an idea why it do this? Or is anybody have a better solution to make test of a CONSOLE project with MFC testrunner and without addin a new mfc project to workspace with the same files. (i.e just in writing a new configuration) Thanks a lot. Nic Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/ Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com |