(01-16-2021, 06:16 AM)fearcry Wrote:Code:UnicodeString Path = GetCurrentDir();
Don’t use GetCurrentDir() for this. You can’t guarantee the calling process’ working directory is what you are expecting at any given moment. To get the folder path where your app is running from, use ExtractFilePath(Application->ExeName) or ExtractFilePath(ParamStr(0)) instead.