How to store and load global settings

Thanks for the answer, sorry to hear that.
How do other developers usually store their global settings on Windows and OSX?