PrefsFile

PrefsFile is a simple C module (also usable from C++) which simplifies the reading and writing of preferences files. It properly locates the preferences folder, creates the prefs file if it doesn't already exist, and so on.

The module defines three functions:


Is simple, no? Each of the above functions takes only a few Toolbox calls, but nearly every application needs this functionality, so I found it helpful to encapsulate it. Perhaps you'll find it useful too. Please send questions or comments to joe@strout.net.
http://www.strout.net/macdev/prefsfile/index.html
Last updated: 11/10/96 . . . . . Joe Strout