resync after porting to VC++