FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour error.log not writable
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
error.log not writable
Posted: Mon Nov 26, 2007 03:53 PM

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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Error log
Posted: Mon Nov 26, 2007 04:54 PM

My error log file writes just fine in Vista ...

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: error.log not writable
Posted: Mon Nov 26, 2007 05:03 PM
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
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: Error log
Posted: Mon Nov 26, 2007 05:29 PM

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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Vista
Posted: Mon Nov 26, 2007 07:35 PM

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
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
error.log not writable
Posted: Mon Nov 26, 2007 07:45 PM

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

Continue the discussion