Get folder of application with GetCurrentDir

Posted by Fred Green p15901 on November 18, 2008

I can get the folder of my application with
F := GetCurrentDir;

This usually works out correctly, but not always, sometimes it gives me a totally different folder name! Is this a bug in Delphi, or in Windows? Maybe a bug with Windows Vista? If possible, how to cure it?

Related articles


Follow Ups