So you wrote an application? Great! Commercial? Freeware? Shareware? Awesome! Tested it? Great!
You send your baby on the web to millions of download users and get a ton of mail from users of specific Operating Systems or people that have used Tweaking programs that you get errors.
This is one of the most common errors that may happen to many of you who code in a way which you use static paths.
This can be easily avoided by plugging in a few functions which will do you the job of getting those paths no matter what Win32(and soon Win64) OS is running.
This article explorers the three most common paths which are used by developers:
- Windows Directory [Nope its not just c:\windows]
- System Directory
- Temporary Files Directory
Comments