RE: [GD-Windows] Security/access when writing to registry
Brought to you by:
vexxed72
From: Dale F. <df...@op...> - 2003-01-23 23:37:57
|
The SHGetFolderPath functionality is available on Win98 in the ShFolder.dll Platform SDK redistributable. http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdkredist.htm If you want to use SHGetFolderPath on Win98 make sure you always link to the SHGetFolderPath in ShFolder.dll and not the one in shell32.dll. See... How to play well with WindowsR XP http://www.microsoft.com/mscorp/corpevents/meltdown2001/presentations.as p Mike Burrows - Microsoft Corporation [Meltdown 2001] - Dale -----Original Message----- From: gam...@li... [mailto:gam...@li...] On Behalf Of Jon Watte Sent: Friday, 24 January 2003 4:28 AM To: gam...@li... Subject: RE: [GD-Windows] Security/access when writing to registry > Is it impossible to put that stuff along with save data in the > folder where > the game was installed ??? Yes; if the game is installed by a user who is administrator, and then run by a user who is not, the second user won't be able to write to the folder where the game is installed. Lots of older games are failing on Windows XP for this reason (or forcing users to run as Administrator all the time, which is bad for different reasons). > Personaly I'm swearing each time some "smart" pc developper put settings, > highscores and save games in some weird location in my computer, > because it > means I cannot backup my game saves. I'd be happy if they just DOCUMENTED where these were. I use three different computers at different times during the week, and I want to drag my savegames with me. Some games make finding out what I need to drag with me easier than others. The right thing to do, really, is using the SHGetSpecialFolderLocation() call (NT4, Win95) or the SHGetFolderLocation() call (Win2k, WinME). Pass CSIDL_COMMON_DOCUMENTS on < WinME/Win2k; possibly pass CSIDL_COMMON_APPDATA on Win2k and WinME and later (too bad that's not available for Win98) On the MacOS, the FindFolder() function has been around since the late '80s, so users are quite used to finding the "settings" folder and expecting all application settings to go there. Cheers, / h+ ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555 |