CodePudding user response:
Refer to the WritePrivateProfileStringCodePudding user response:
On taobao, find a shops do in you.CodePudding user response:
Cstrings strIniFilename=L ". \ \ AnstSetting ini ".//configuration file path, relative paths are available, and can also use an absolute path
Cstrings strItemName;
GetPrivateProfileString (L "DialogItem," L "StandardCustom," L ", "strItemName. GetBuffer (MAX_PATH), MAX_PATH, strIniFilename);
StrItemName. ReleaseBuffer ();
CodePudding user response:
This program means initialization time to read the content of the INI file, and then if there is no will to browse in the INI file, there is also a function is through a control such as combobox dropdown has 2 options (key and key) and then select the key is the back is 1, the key is not 0, after you have chosen the selected item to the INI file and the corresponding, strives for the bosses to answerCodePudding user response:
On taobao for someone to get it, an estimated value of 3, 5