source code references adjusted to vs2012 sdk.