error.log not writable

Post Reply
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

error.log not writable

Post 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
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Error log

Post by TimStone »

My error log file writes just fine in Vista ...
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: error.log not writable

Post 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
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: Error log

Post 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
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Vista

Post 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
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply