Just ask the OS where the paths are! SHGetKnownFolderPath is your friend, like txsemi has already said before!

Also, the last parameter to CreateDirectory is a pointer. Don't pass a float in there, just pass NULL.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com