<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 37: Integration of CppUnit in a existing project</title><link href="https://sourceforge.net/p/cppunit/support-requests/37/" rel="alternate"/><link href="https://sourceforge.net/p/cppunit/support-requests/37/feed.atom" rel="self"/><id>https://sourceforge.net/p/cppunit/support-requests/37/</id><updated>2004-08-17T10:04:55Z</updated><subtitle>Recent changes to 37: Integration of CppUnit in a existing project</subtitle><entry><title>Integration of CppUnit in a existing project</title><link href="https://sourceforge.net/p/cppunit/support-requests/37/" rel="alternate"/><published>2004-08-17T10:04:55Z</published><updated>2004-08-17T10:04:55Z</updated><author><name>tom_pouce</name><uri>https://sourceforge.net/u/userid-1105654/</uri></author><id>https://sourceforge.net6e66d5b6ffe955a3ed70c1328c36960441c3763e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I try to understand how I can use cppunit in an existing &lt;br /&gt;
project wich is rather big. My workspace contains 40 &lt;br /&gt;
projects. It is made of an MFC application ( exe ) and a &lt;br /&gt;
lot of Dll. &lt;/p&gt;
&lt;p&gt;I would like to create one Dll ( AllTests.dll) that will &lt;br /&gt;
contain all the test fixtures.I plan to run the test of this &lt;br /&gt;
dll with different testRunners&lt;/p&gt;
&lt;p&gt;My problem is that I can't see how to implement tests &lt;br /&gt;
for classes included in the MFC application, since &lt;br /&gt;
the "__declspec(dllexport)" has no effect. When I &lt;br /&gt;
compile AllTests.dll, I get a error LNK2001 because I can &lt;br /&gt;
not access to the class of my application.&lt;/p&gt;
&lt;p&gt;Could you help me to solve tis problem which must be &lt;br /&gt;
quite common for newbies ?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>