I thought it might be helpful to submit a barebones visual c++ 6.0 project that is loosely based on the Complex class in the cookbook. It uses a very simple Employee class with just one std::string member variable. It utilizes the helper macros from the 1.8.0 release.
This example doesn't particularly do anything, but it is pruned down enough to determine if your setup is correct enough to compile/link. It can serve as a template for a real class.
The included .dsw and .dsp already have the settings for resolving includes, libs, and dll's. It is assumed to be 'installed' at:
<cppunit_home>\exmaples\msvc6\EmpVc6Cookbook.
Cookbook'ish VC6 example with Employee class
I thought it might be helpful to submit a barebones visual c++ 6.0 project that is loosely based on the Complex class in the cookbook. It uses a very simple Employee class with just one std::string member variable. It utilizes the helper macros from the 1.8.0 release.
This example doesn't particularly do anything, but it is pruned down enough to determine if your setup is correct enough to compile/link. It can serve as a template for a real class.
The included .dsw and .dsp already have the settings for resolving includes, libs, and dll's. It is assumed to be 'installed' at:
<cppunit_home>\exmaples\msvc6\EmpVc6Cookbook.
The vc6 project (.dsw, .dsp, .cpp, and .exe) is available directly from:
http://prdownloads.sourceforge.net/inverse/EmpVc6Cookbook.zip
or:
http://home.att.net/~bibleinverse/Misc/EmpVc6Cookbook.zip
Enjoy!