#194 Problems building examples.dsw in Visual Studio 2005

open
nobody
None
5
2008-11-27
2008-11-27
Vince Harron
No

Open examples.dsw in Visual Studio 2005
Select "HostApp"
Select "Debug Unicode" solution configuration
Build

1) Correct minor compilation bug

replace:
"#import "libid:80cc9f66-e7d8-4ddd-85b6-d9e6cd0e93e2" version("7.0") lcid("0") raw_interfaces_only named_guids"

with:
#if _MSC_VER >= 1500
#import "libid:80cc9f66-e7d8-4ddd-85b6-d9e6cd0e93e2" version("9.0") lcid("0") raw_interfaces_only named_guids
#elif _MSC_VER >= 1400
#import "libid:80cc9f66-e7d8-4ddd-85b6-d9e6cd0e93e2" version("8.0") lcid("0") raw_interfaces_only named_guids
#else
#import "libid:80cc9f66-e7d8-4ddd-85b6-d9e6cd0e93e2" version("7.0") lcid("0") raw_interfaces_only named_guids
#endif

2) In HostApp DLL Dependencies, testrunnerud.dll is excluded from the build and testrunnerd.dll is included, but testrunnerd.dll is not built by "Debug Unicode". Correct this by including testrunnerud.dll and excluding testrunnerd.dll

3) DllPlugInTesterTest depends on copying cppunit_dll.dll even though I'm only building Debug Unicode. The copy step of the release dll should be excluded from the debug builds

Discussion