Error report (errsysw_.prg)

Re: Error report (errsysw_.prg)

Postby mtajkov » Tue Jul 02, 2019 7:38 pm

Antonio,

I have no problem with the error, I made it intentionally to check if it works in version 15.07 as it does in version 12.08.

Regards,
Milos
Best regards
Milos

[ FWH 21.11 ] [ xHarbour 1.2.3 Intl. (SimpLex) (Build 20150603) ]
mtajkov
 
Posts: 130
Joined: Sun Mar 08, 2009 4:33 pm

Re: Error report (errsysw_.prg)

Postby Antonio Linares » Tue Jul 02, 2019 7:42 pm

So then, what is the error that you have ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42074
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Error report (errsysw_.prg)

Postby mtajkov » Tue Jul 02, 2019 8:51 pm

if the user gets an error while using the application in version 12.08 he was able to send me a mail with error.log. I want to go to version 15.07. but this option does not work, why?

I'm sorry for my English

Regards,
Milos
Best regards
Milos

[ FWH 21.11 ] [ xHarbour 1.2.3 Intl. (SimpLex) (Build 20150603) ]
mtajkov
 
Posts: 130
Joined: Sun Mar 08, 2009 4:33 pm

Re: Error report (errsysw_.prg)

Postby karinha » Wed Jul 03, 2019 11:50 am

An example?
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7801
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Error report (errsysw_.prg)

Postby Antonio Linares » Wed Jul 03, 2019 1:13 pm

Milos,

Please post here your errorsys PRG so we can check why sending an email is no longer working, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42074
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Error report (errsysw_.prg)

Postby TimStone » Wed Jul 03, 2019 9:05 pm

Several days ago I posted a question on this thread and it disappeared. So I will ask it again.

The suggestion is to NOT use errorsysw.prg. Why ? I took it and modified it to provide very useful information when an error does occur. That is what I link into my application. Using the default would limit the data I can get and that would not be helpful. So, why are you recommending NOT using errorsysw ?
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 report (errsysw_.prg)

Postby mtajkov » Thu Jul 04, 2019 8:00 pm

I'm sorry if I'm not clear (maybe it's because of my bad English ...). In version 15.07, I do not receive an error report (error.log does not exist), while in version 12.08 it exists and could be sent by mail, which is very important to me by the user.

Regards.
Milos
Best regards
Milos

[ FWH 21.11 ] [ xHarbour 1.2.3 Intl. (SimpLex) (Build 20150603) ]
mtajkov
 
Posts: 130
Joined: Sun Mar 08, 2009 4:33 pm

Re: Error report (errsysw_.prg)

Postby karinha » Fri Jul 05, 2019 12:58 pm

It's hard to understand what you want. Do you compile with both versions? Why not compile only with the version that theoretically you say works and generates ERROR.LOG? You do not show anything practical to test or analyze. So it is not possible to help you. Greetings.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7801
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Error report (errsysw_.prg)

Postby hua » Fri Jul 05, 2019 2:33 pm

I guess what Milos is trying to say is, with ver 15.07 the error occured but no error.log was generated.

With FWH12.08 the error.log was generated.

I'm also interested in this because with latest FWH19.03/05, it's the standard errsysw.prg that is executed not my customized errsysw that I linked in. But then again I may have to check whether I was using hbmk2 or a BCC link script as I just realized with hbmk2 I can't control the order of the objs that gets linked in
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: Error report (errsysw_.prg)

Postby nageswaragunupudi » Fri Jul 05, 2019 3:15 pm

TimStone wrote:Several days ago I posted a question on this thread and it disappeared. So I will ask it again.

The suggestion is to NOT use errorsysw.prg. Why ? I took it and modified it to provide very useful information when an error does occur. That is what I link into my application. Using the default would limit the data I can get and that would not be helpful. So, why are you recommending NOT using errorsysw ?


You are at liberty to modify and use your own modified program.
The only limitation is that FWH will not be able to support any questions on your modified program.

It is also possible to customize the present FWH's native errsysw.prg. Please review these options and then decide if these options are adequate for your requirements or you really need to replace it with a customized program.

In any case, the original question is different. We will try to address that.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Error report (errsysw_.prg)

Postby nageswaragunupudi » Fri Jul 05, 2019 3:19 pm

hua wrote:I guess what Milos is trying to say is, with ver 15.07 the error occured but no error.log was generated.

With FWH12.08 the error.log was generated.

Yes, this is the issue raised.
Wish to have a small test program generating this error and then we can check with both FWH1208 and current version and provide a helpful answer.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Error report (errsysw_.prg)

Postby TimStone » Fri Jul 05, 2019 6:08 pm

Yes, I realize the original question was different, but I was curious about the "why" of one of your responses.

I do realize that if I modify any source code, it is my responsibility to figure out what is going on if I have a problem. Actually, I'm simply reporting more data that I found would be very helpful in understanding the cause of an error when they ( infrequently ) do occur. In fact, I find most errors today are usually due to some change in WIndows rather than a code error.

I usually work off a very recent copy of errorsysw.prg and then add in the extra data lines I need. Thus, my work adds to what already exists and otherwise modifies nothing.

Thank you.
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 report (errsysw_.prg)

Postby mtajkov » Fri Jul 05, 2019 6:59 pm

Prg:
Code: Select all  Expand view
#include "FiveWin.ch"

function Main()

* Variable does not exist: MERROR


  msgInfo(mError)


return nil
 


Exe file:

http://www.smartprint.co.rs/test1208.zip
http://www.smartprint.co.rs/test1507.zip
Regards,
Milos
Best regards
Milos

[ FWH 21.11 ] [ xHarbour 1.2.3 Intl. (SimpLex) (Build 20150603) ]
mtajkov
 
Posts: 130
Joined: Sun Mar 08, 2009 4:33 pm

Re: Error report (errsysw_.prg)

Postby nageswaragunupudi » Fri Jul 05, 2019 8:29 pm

I copied this program to \fwh1507\samples folder as er.prg and built with "buildx.bat"
Code: Select all  Expand view

buildx er
 


This is the error.log I got with native errsysfw.prg:
Code: Select all  Expand view
Application
===========
   Path and name: C:\fwh1507\samples\er.exe (32 bits)
   Size: 3,087,872 bytes
   Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20190613)
   FiveWin  Version: FWHX 15.07
   Windows version: 6.2, Build 9200

   Time from start: 0 hours 0 mins 0 secs
   Error occurred at: 07/06/19, 01:56:38
   Error description: Error BASE/1003  Variable does not exist: MERROR

Stack Calls
===========
   Called from: er.prg => MAIN( 8 )
 


Please try the same steps I mentioned above.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Error report (errsysw_.prg)

Postby karinha » Mon Jul 08, 2019 12:50 pm

Milos, what version of BCC and xHARBOUR are you using to compile with FWH1705?

Regards.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7801
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 67 guests