FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error report (errsysw_.prg)
Posts: 130
Joined: Sun Mar 08, 2009 04:33 PM
Re: Error report (errsysw_.prg)
Posted: Tue Jul 02, 2019 07: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) ]
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error report (errsysw_.prg)
Posted: Tue Jul 02, 2019 07:42 PM

So then, what is the error that you have ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 130
Joined: Sun Mar 08, 2009 04:33 PM
Re: Error report (errsysw_.prg)
Posted: Tue Jul 02, 2019 08: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) ]
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Error report (errsysw_.prg)
Posted: Wed Jul 03, 2019 11:50 AM

An example?

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error report (errsysw_.prg)
Posted: Wed Jul 03, 2019 01: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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Error report (errsysw_.prg)
Posted: Wed Jul 03, 2019 09: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
Posts: 130
Joined: Sun Mar 08, 2009 04:33 PM
Re: Error report (errsysw_.prg)
Posted: Thu Jul 04, 2019 08: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) ]
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Error report (errsysw_.prg)
Posted: 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
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: Error report (errsysw_.prg)
Posted: Fri Jul 05, 2019 02: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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Error report (errsysw_.prg)
Posted: Fri Jul 05, 2019 03: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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Error report (errsysw_.prg)
Posted: Fri Jul 05, 2019 03: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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Error report (errsysw_.prg)
Posted: Fri Jul 05, 2019 06: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
Posts: 130
Joined: Sun Mar 08, 2009 04:33 PM
Re: Error report (errsysw_.prg)
Posted: Fri Jul 05, 2019 06:59 PM
Prg:
Code (fw): Select all Collapse
#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) ]
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Error report (errsysw_.prg)
Posted: Fri Jul 05, 2019 08:29 PM
I copied this program to \fwh1507\samples folder as er.prg and built with "buildx.bat"
Code (fw): Select all Collapse
buildx er


This is the error.log I got with native errsysfw.prg:
Code (fw): Select all Collapse
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
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Error report (errsysw_.prg)
Posted: 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

Continue the discussion