Re: [Cppunit-devel] AFX_EXT_CLASS error
Brought to you by:
blep
From: Baptiste L. <bl...@cl...> - 2001-07-25 18:48:10
|
----- Original Message ----- From: "Laurie Spencer" <la...@sh...> To: <cpp...@li...> Sent: Wednesday, July 25, 2001 1:22 AM Subject: [Cppunit-devel] AFX_EXT_CLASS error > We're just starting with cppunit - any help would be greatly appreciated! > > We are trying to move forward to unit testing with legacy code. I finally > got everything to link happily and created a test case and that compiles and > links fine. > > I copied > static AFX_EXTENSION_MODULE extTestRunner; Huu, What's that ? To use TestRunner, you only need: #include <msvc6/testrunner/TestRunner.h> You must also define the symbol _AFX_DLL (see notes in TestRunner.h in the CVS version). This is usually done by default when you create a new project with VC++. Baptiste. --- Baptiste Lepilleur <gai...@fr...> http://gaiacrtn.free.fr/index.html Author of The Text Reformatter, a tool for fanfiction readers and writers. Language: English, French (Well, I'm French). |