Monthly Archives: January 2008

Big Solitaires 3D

Big Solitaires 3D depends on wxWidgets, libpng and zlib.zlib can be found at D:\wxWidgets-2.8.7\src\zlib, which is required by both wxWidgets and libpng. <sys/time.h> is included in bigsol\40ladrones.cpp, which is not available under VC++ 2008, but it can be safely commented … Continue reading

Posted in Games | Leave a comment

Complementary techniques to Test-Driven Development

I realized that TDD is not enough for quality ensurance one year ago — unit test code was written but a use case still failed, since TDD does not focus at use case level, so I think an independent test … Continue reading

Posted in Software Engineering | Leave a comment

Build CPPUNIT 1.12 via VC++ 2008

Need to change d:\CPPUNIT\cppunit-1.12.0\src\msvc6\testrunner\MsDevCallerListCtrl.cpp #pragma warning( disable : 4278 )#pragma warning( disable : 4146 )#if _MSC_VER == 1300#import "libid:80cc9f66-e7d8-4ddd-85b6-d9e6cd0e93e2" version("7.0") lcid("0") raw_interfaces_only named_guids#endif#if _MSC_VER == 1500#import "libid:80cc9f66-e7d8-4ddd-85b6-d9e6cd0e93e2" version("9.0") lcid("0") raw_interfaces_only named_guids#endif#pragma warning( default : 4146 )#pragma warning( default : 4278 … Continue reading

Posted in Open Source | Leave a comment

Stingray2006V3 and VC++ 2008

Stingray (2006V3) library does not support VC++ 2008 (http://www2.roguewave.com/support/matrices/matrix/support_matrix_stingray49.pdf), a kind of surprise to me. Usually a company would support VC++ 2008 in its early beta stage, but RogueWave didn’t do that. Here are some tricks to make it compatible … Continue reading

Posted in GUI | Leave a comment

dynamic_cast with COM interface pointer

When I use c cast to get a pointer to an implementation class of an interface and call its method, it reports access violation upon the entry of the method, even if the method only contains one line: "return S_OK". … Continue reading

Posted in COM | Leave a comment

#import directive cause internal compiler error in VC6

There is a #import directive in stdafx.h beneath declaration of a class which is derived from CComModule. VC6 always reports internal compiler error on source files that includes this stdafx.h, but VC++ 2005 is OK. The trick for VC6 is … Continue reading

Posted in IDE | Leave a comment

build boost.asio 0.39 via VC++ 2008

unzip asio 0.39 to boost 1.34.1 folder invoke command: bjam –toolset=msvc stage update boost/config/auto_link.hpp //#elif defined(BOOST_MSVC) && (BOOST_MSVC >= 1400)#elif defined(BOOST_MSVC) && (BOOST_MSVC == 1400)   // vc80:#  define BOOST_LIB_TOOLSET "vc80"#elif defined(BOOST_MSVC) && (BOOST_MSVC > 1400)   // vc90:#  define BOOST_LIB_TOOLSET "vc" … Continue reading

Posted in Open Source | Leave a comment