使用CWinApp类的WriteProfileString 、GetProfileString等函数。
1、如果不调用SetRegistryKey(),CWinApp 会把信息保存系统目录的的tool.ini文件中(C:\Windows\tool.ini)
2、如果调用SetRegistryKey(),CWinApp 会把信息保存系统目录的的注册表中
HKEY_CURRENT_USER\Software<company name>\Test<section name><value name>.
SetRegistryKey作用
最新推荐文章于 2023-08-15 22:17:22 发布