如题,我用WritePrivateProfileString函数写入数据到文件。因为我的操作需要不停的写入和读出ini文件的内容,但是
WritePrivateProfileString函数是在关闭程序后才会写入到ini文件中的,有延时。求解!!!PS:fwrite函数有fflush函数配合可以立即写入,不知道对WritePrivateProfileString有没有相应的函数配合立即写入!
WritePrivateProfileString函数是在关闭程序后才会写入到ini文件中的,有延时。求解!!!PS:fwrite函数有fflush函数配合可以立即写入,不知道对WritePrivateProfileString有没有相应的函数配合立即写入!
解决方案 »
- 刷新进度条
- 在MFC的框架中加入openCV支持后出现的问题
- 如何解决这个错误?Hits error LNK2005: _DllMain@12 已经在 MSVCRTD.lib(dllmain.obj) 中定义
- 想问一下 福州富士通通信软件公司的软件工程师待遇
- 100分求vc技术内幕第四版 ,7M的.chm或者2M的.exe的那种,外送一个GMAIL
- 求救驱动的自动安装问题
- 改写memfile播放MPEG2碰到的问题,请各位指点!
- 怎么在dialog 里添加一个 button 当click button 时弹出一个对话控进行操作的代码怎么写?
- 怎样通过窗口句柄得到产生它的模块文件名
- 如何把我的程序做成可以安装到别的机子上的软件?
- 修改任务栏图标
- 能在虚函数的基础上再加一点功能吗?
The following functions are used with the registry:
RegCloseKey
RegConnectRegistry
RegCreateKey
RegCreateKeyEx
RegDeleteKey
RegDeleteValue
RegEnumKey
RegEnumKeyEx
RegEnumValue
RegFlushKey
RegGetKeySecurity
RegLoadKey
RegNotifyChangeKeyValue
RegOpenKey
RegOpenKeyEx
RegQueryInfoKey
RegQueryMultipleValues
RegQueryValue
RegQueryValueEx
RegReplaceKey
RegRestoreKey
RegSaveKey
RegSetKeySecurity
RegSetValue
RegSetValueEx
RegUnLoadKey
Obsolete Functions
GetPrivateProfileInt
GetPrivateProfileSection
GetPrivateProfileSectionNames
GetPrivateProfileString
GetPrivateProfileStruct
GetProfileInt
GetProfileSection
GetProfileString
WritePrivateProfileSection
WritePrivateProfileString
WritePrivateProfileStruct
WriteProfileSection
WriteProfileString