Follow-up Comment #5, bug #21891 (project wesnoth): The relevant code seems to be set_user_data_dir() of src/filesystem_boost.cpp. It's using SHGetSpecialFolderPath(), which is deprecated in favour of SHGetFolderPath(), which itself is deprecated in favour of SHGetKnownFolderPath().
SHGetSpecialFolderPath: Minimum Windows 2000 Professional (Shell32.dll from IE4) SHGetFolderPath: Minimum Windows 2000 Profressional / XP (Shell32.dll from Win2000) SHGetKnownFolderPath: Minimum Windows Vista Some relevant documentation (correct locations as of October 2015): SHGetSpecialFolderPath: https://msdn.microsoft.com/en-us/library/windows/desktop/bb762204.aspx SHGetFolderPath: https://msdn.microsoft.com/en-us/library/windows/desktop/bb762181.aspx SHGetKnownFolderPath: https://msdn.microsoft.com/en-us/library/windows/desktop/bb762188.aspx Known Folder IDs: https://msdn.microsoft.com/en-us/library/windows/desktop/dd378457.aspx shadowm stated minimum Windows support as of 17th October 2015 is Windows XP - we won't be increasing that until and unless we need a feature that is only available in later Windows. I think it should still be possible to make Windows Vista and later use Saved Games directory and Windows XP fall back to My DocumentsMy Games. But I would only consider this *if* that's something that everyone agrees is a good idea - having mixed directories across different versions of a single OS is potentially confusing... although that hasn't stopped MS from changing these 'known' directories with seemingly every release. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?21891> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Wesnoth-bugs mailing list [email protected] https://mail.gna.org/listinfo/wesnoth-bugs
