port to VC2012