Standardpaths library

FreeSlave via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Apr 5 05:39:04 PDT 2015


On Sunday, 5 April 2015 at 11:42:42 UTC, Marco Leise wrote:
>is this Windows?
> return executable_path

That depends on what do you understand by data. Are game's saves 
data too? Or content downloaded while playing (server-specific 
assets or new levels). In the past it was ok to write configs and 
data to the same path where the game (or application) originally 
installed. But starting with Vista or Windows 7 it's not the case 
since Program Files folder become write-protected by default.


More information about the Digitalmars-d-announce mailing list