当用ini读取的方法去读取系统目录下的win.ini时
读取或写入
[windows]
load=myapp.exe
都是空白或不能写入
但是当把[windows]改成[window]或[windos]或其他杂七杂八的就可以读取或写入
谁能告诉我这是怎么一回事?有规定不能用[windows] 吗
读取或写入
[windows]
load=myapp.exe
都是空白或不能写入
但是当把[windows]改成[window]或[windos]或其他杂七杂八的就可以读取或写入
谁能告诉我这是怎么一回事?有规定不能用[windows] 吗
GetPrivateProfileInt
GetPrivateProfileSection
GetPrivateProfileSectionNames
GetPrivateProfileString
GetPrivateProfileStruct
WritePrivateProfileSection
WritePrivateProfileString
WritePrivateProfileStruct对于 Windows 系统的配置文件如 win.ini 要用如下API才能正确访问:
GetProfileInt
GetProfileSection
GetProfileString
WriteProfileSection
WriteProfileString