Skip to content
  • Nick Mathewson's avatar
    Patch from "J Doe": Use SHGetSpecialFolderLocation instead of · 8b325c14
    Nick Mathewson authored
    SHGetSpecialFolderPath in order to find application data folder.
    
    Apparently, until IE 4 (!?) came out, nobody realized that programmers
    might like to get paths as strings.  Clearly, a fancy pseudo-OO list
    of "identifiers" is a far more convenient way to deal with these
    things.  And while we're being OO, why return object that you can free
    with free()?  Instead, let's make the user get a handle to an abstract
    allocation object, and ask it to free the fancy list, and then ask it
    to release itself.  Won't that be fun and convenient?
    
    Navigating ancient Win32 APIs is like bikini-waxing creatures from HP
    Lovecraft: to do a good job you must understand what's going on... but
    the understanding itself can blast your sanity.
    
    
    svn:r2480
    8b325c14