删除注册表里面有关文档记录,可运行后弹出窗口“错误:无法删除”,
帮忙看看函数用的不对吗?LPCTSTR delData="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RecentDocs";
long ret0=RegDeleteKey(HKEY_CURRENT_USER,delData);
if(ret0!=ERROR_SUCCESS)
{
MessageBox("错误: 无法删除");
return;
}
帮忙看看函数用的不对吗?LPCTSTR delData="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RecentDocs";
long ret0=RegDeleteKey(HKEY_CURRENT_USER,delData);
if(ret0!=ERROR_SUCCESS)
{
MessageBox("错误: 无法删除");
return;
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货