FlushPreferenceBuffer()
Posted: Sat Dec 07, 2013 9:09 am
If there is a command like this:
FlushPreferenceBuffer(Preference),then when I crashed my app by accident, I won't lost all my writing to the preference file.
Now I must call ClosePreferences() every time after writing data accomplished just in case,while I need to write data some other time I need to call OpenPreferences() again, a little cost in performance huh?
FlushPreferenceBuffer(Preference),then when I crashed my app by accident, I won't lost all my writing to the preference file.
Now I must call ClosePreferences() every time after writing data accomplished just in case,while I need to write data some other time I need to call OpenPreferences() again, a little cost in performance huh?