port to VC++ 2015