RE: [GD-General] A portable preferences library
Brought to you by:
vexxed72
From: Mat N. \(BUNGIE\) <mat...@mi...> - 2003-12-05 22:24:16
|
Wouldn't it be easier to add the ability for the user to import/export preferences? (Along with the requisite documentation.) MSN -----Original Message----- From: gam...@li... [mailto:gam...@li...] On Behalf Of Tom Spilman Sent: Friday, December 05, 2003 11:31 AM To: gam...@li... Subject: RE: [GD-General] A portable preferences library=20 > -----Original Message----- > Behalf Of J C Lawrence > > Maybe I'm hard-core, but I think everything an application needs to=20 > > operate, short of the absolutely guaranteed resources of=20 > the operating=20 > > system, should be packaged with the application -- and totally=20 > > portable. >=20 > In the case of user preferences this violates the model of=20 > segmented access rights and patterns as it requires that=20 > users have write access to the installation point the=20 > application. Maybe one that wants to maintain application controlled config selection ala BF1942 for instance, yet not violate the write access of non-admin accounts should use SHGetFolderLocation( CSIDL_COMMON_APPDATA ), CSIDL_COMMON_DOCUMENTS, or whatever is equivalent to 'C:\Documents and Settings\All Users\' in other OSs. =20 Tom =09 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Gamedevlists-general mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-general Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3D557 |