[mad-dev] porting to VC++