converted to VS2010

compile test suceeded