Finding the user's AppData folder on Windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • David H
    New Member
    • Jun 2011
    • 4

    Finding the user's AppData folder on Windows

    I'm currently working on a screensaver for windows and need to store a settings file in the user's AppData folder. Right now I am using
    Code:
    getenv("APPDATA")
    to find it, but this seems somewhat unreliable to me. Is there a way to do this with the Windows API?
Working...