Created
March 21, 2016 05:23
-
-
Save nibasya/28bd83e6f4c0353b3277 to your computer and use it in GitHub Desktop.
.ini entry not deleted
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Delete section | |
- WriteProfileString(IntToStr(i), NULL, 0); | |
+ ret = AfxGetApp()->WriteProfileString(IntToStr(i), NULL, NULL); | |
+ if (ret == 0) { | |
+ MessageBox(GetLastErrorString()); | |
+ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment