Page 1 of 1

error.log not writable

Posted: Mon Nov 26, 2007 3:53 pm
by byte-one
Hello EMG, your tip

Try using the following command:
SET ERRORLOG TO <cLogFile> [ADDITIVE]

is not practicable in Harbour!
I show to source and i see that the file for errorlog is hard-coded. Mr. Linares, for VISTA i cannot write this errorlog to Program Files folder. Please allow also the command SET ERRORLOG TO <cLogFile> [ADDITIVE] !
MfG
Günther

Error log

Posted: Mon Nov 26, 2007 4:54 pm
by TimStone
My error log file writes just fine in Vista ...

Re: error.log not writable

Posted: Mon Nov 26, 2007 5:03 pm
by Enrico Maria Giordano
byte-one wrote:Hello EMG, your tip

Try using the following command:
SET ERRORLOG TO <cLogFile> [ADDITIVE]

is not practicable in Harbour!
Yes, it works with xHarbour.

EMG

Re: Error log

Posted: Mon Nov 26, 2007 5:29 pm
by Richard Chidiak
Tim,

Vista "Pro" does not allow to write on the root disk ("c"), i guess it is the same with program files

Vista Home is ok , no problem,

Richard

Vista

Posted: Mon Nov 26, 2007 7:35 pm
by TimStone
It must be setup. I use Vista Ultimate. I never use Home versions.

When programming, I often will have error files pop up.

Tim

Posted: Mon Nov 26, 2007 7:45 pm
by Antonio Linares
Günther

As a workaround, please modify the errorsys (source\function\errsysw.prg) source code and hardcode there the file path that you want