View Full Version : Output Path
Patrick Paquette
20-Mar-2006, 03:37 PM
Hi,
There is a way to change the output path for the ELF file on runtime ?
It seem to be fix on build. (dpr) But my application is installed in a
read-only folder at my custumer.
So, the ELF cannot be created. I need to change the path for the
ApplicationData and it different for each user.
thanks
Patrick
User "Patrick Paquette" <NoSpam@4me.com> wrote...
> Hi,
>
> There is a way to change the output path for the ELF file on runtime ?
> It seem to be fix on build. (dpr) But my application is installed in a
> read-only folder at my custumer.
> So, the ELF cannot be created. I need to change the path for the
> ApplicationData and it different for each user.
>
> thanks
> Patrick
Hello!
I do it like this:
s := GetEnvironmentVariable('APPDATA');
s := s + '\MyApp\Log';
if DirectoryExists(s) or ForceDirectories(s) then
CurrentEurekaLogOptions.OutputPath := s
else
... I don't have else here but I hope it helps :)
--
Greetings
Tomski
admin
22-Mar-2006, 08:40 AM
Hi,
Patrick Paquette wrote:
> Hi,
>
> There is a way to change the output path for the ELF file on runtime ?
> It seem to be fix on build. (dpr) But my application is installed in a
> read-only folder at my custumer.
> So, the ELF cannot be created. I need to change the path for the
> ApplicationData and it different for each user.
>
> thanks
> Patrick
As you can see here: http://www.eurekalog.com/docs/logfiletab.html
if the log-file folder is not writable then the log is saved in the
"%UserProfile%/EurekaLog/ProjectName" folder.
--
Best regards...
Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.