Home > Software engineering >  Inquire of the great god the MFC application what to do, have no language, will have to pay tomorrow
Inquire of the great god the MFC application what to do, have no language, will have to pay tomorrow

Time:09-18

 is the demand under the above is the configuration file

CodePudding user response:

Refer to the WritePrivateProfileString


CodePudding 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 answer

CodePudding user response:

On taobao for someone to get it, an estimated value of 3, 5
  • Related