compile by vc6.0