C++中error C3867: “ATL::CRegKey::Close”: 非标准语法;请使用 “&“ 来创建指向成员的指针解决方法

error C3867: “ATL::CRegKey::Close”: 非标准语法;请使用 "&" 来创建指向成员的指针

这种错误产生的原因一般是因为缺少括号导致:

比如:

reg.Close();

写成了reg.Close;

猜你喜欢

转载自blog.csdn.net/wh445306/article/details/114583002