port to VC6 (Microsoft Visual C++ 6.0).
support compile on Windows XP.
by Liigo.