Fixing compiler warnings in MFC samples (MSVC compiler) File .gitignore modified to ignore files generated by VS 2012