• Magnus Hagander's avatar
    Use snprintf instead of wsprintf, and use getenv("APPDATA") instead of · 344d0cae
    Magnus Hagander authored
    SHGetFolderPath.
    
    This removes the direct dependency on shell32.dll and user32.dll, which
    eats a lot of "desktop heap" for each backend that's started. The
    desktop heap is a very limited resource, causing backends to no
    longer start once it's been exhausted.
    
    We still have indirect depdendencies on user32.dll through third party
    libraries, but those can't easily be removed.
    
    Dave Page
    344d0cae
kill.c 1.24 KB