测试一下读写注册表
来源:互联网 发布:ubuntu串口通信 编辑:程序博客网 时间:2024/05/16 07:22
SetRegistryKey(_T("MyTestRegister")); //在HKEY_CURRENT_USER//software下生成 "MyTestRegister"
CString strUserName="i come from china";
WriteProfileString("LogInfo","UserName",strUserName); //向注册表HKEY_CURRENT_USER//software//MyTestRegister//LogInfo//分支下写入UserName 字符串行键值 "i come from china"
strUserName = GetProfileString("LogInfo","UserName");
读取到UserName的值 i come from china
- 测试一下读写注册表
- QSettings Windows读写注册表小测试程序
- 读写注册表
- 读写注册表
- 读写注册表
- 读写注册表
- 读写注册表
- 读写注册表
- 读写注册表
- 读写注册表
- 读写注册表
- 读写注册表
- 读写注册表
- 读写注册表
- 读写注册表
- 读写注册表
- 注册表读写
- 读写注册表
- ajax学习
- notify 和wait
- Table标签注意事项
- Android 电话的反射调用机制实现静默接听电话
- 【我所認知的BIOS】—>ADU.exe
- 测试一下读写注册表
- jar包中图片的正确显示及第三方jar包的引用
- VC++6.0调试篇:远程调试续--DLL篇
- 总结java的interface和abstract class
- 【我所認知的BIOS】—>PCI SCAN
- 查看浏览器的flash player版本
- 【我所認知的BIOS】—>PCI 配置空間拾趣
- Linux系统中Mysql 的安装备份与密码恢复
- [转]vc中socket编程步骤