error C3867: “ATL::CRegKey::Close”: 非标准语法;请使用 "&" 来创建指向成员的指针 这种错误产生的原因一般是因为缺少括号导致: 比如: reg.Close(); 写成了reg.Close;