error.log not writable

error.log not writable

Postby byte-one » Mon Nov 26, 2007 3: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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Error log

Postby TimStone » Mon Nov 26, 2007 4: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: error.log not writable

Postby Enrico Maria Giordano » Mon Nov 26, 2007 5: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
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Error log

Postby Richard Chidiak » Mon Nov 26, 2007 5: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Vista

Postby TimStone » Mon Nov 26, 2007 7: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby Antonio Linares » Mon Nov 26, 2007 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 106 guests