SetRegistryKey的作用
来源:互联网 发布:手机淘宝链接转换pc 编辑:程序博客网 时间:2024/06/05 03:20
在利用mfc框架的时候,在App应用类的InitInstance()函数中,初始化时总有一个 SetRegistryKey("字符串XXX")。如果你使用注册表保存相关参数,则它为你提供了很便利的方法,当然如果不使用系统注册表,这句可以注释掉。
SetRegistryKey 这个函数功能是设置MFC程序的注册表访问键,并把读写 ini 文件的成员函数映射到读写注册表。只要调用一下 SetRegistryKey 并指定注册表键值,那么下面6个成员函数,就被映射到进行注册表读取了~
WriteProfileBinary
Writes binary data to an entry in the application's .INI file.
WriteProfileInt
Writes an integer to an entry in the application's .INI file.
WriteProfileString
Writes a string to an entry in the application's .INI file.
GetProfileBinary
Retrieves binary data from an entry in the application's .INI file.
GetProfileInt
Retrieves an integer from an entry in the application's .INI file.
GetProfileString
Retrieves a string from an entry in the application's .INI file.
- SetRegistryKey的作用
- SetRegistryKey的作用(转载)
- SetRegistryKey的作用
- SetRegistryKey的作用
- SetRegistryKey的作用
- SetRegistryKey的作用
- SetRegistryKey的作用
- 过SetRegistrykey的作用
- SetRegistryKey的作用 [转]
- SetRegistryKey的作用
- SetRegistryKey的作用
- SetRegistryKey的作用
- SetRegistryKey的作用
- SetRegistryKey的作用
- SetRegistryKey的作用(转载)
- SetRegistryKey
- SetRegistryKey
- SetRegistryKey
- struts2和spring3零配置整合的思考
- android中使用的尺寸单位
- 学c之gcc编译过程及其常用编译选项
- Delphi获取进程的命令行参数
- 网页中代码的顺序是不可忽略的细节
- SetRegistryKey的作用
- Vim 设置相关 快捷操作
- 黑马程序员---Map集合
- 用键盘在网页上选择复选框
- hdu 2525(模拟)
- 《一个操作系统的实现》(二):使用Bochs调试操作系统
- RAC 详解
- Eclipse @override报错
- 控制台程序输入CTRL+C后弹出异常的原因