FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Don't show the error
Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Don't show the error
Posted: Wed Feb 04, 2015 12:33 AM

Holas,

I am with a new machine (lenovo thinkpad x230) with win7 64bit, first the xMate doesn't work for compatibility issues, everything runs less xMate, forcing achievement xMate work, but what I do every time I want to run

The worst, when the program (FWH + xH + BCC) has a problem such as call or reference to not defined object data, the program exits without displaying a specific error and displays a windows dialog with the following explanation ":

"A problem Caused the program to stop working correctly. Windows will close the program and notify you if a solution is available"

I am using FWH 1312, Bcc 582, xHarbour 20,141,117

any hints

regards

Marcelo Via

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Don't show the error
Posted: Wed Feb 04, 2015 06:43 AM
Marcelo,

You may use a more recent xHarbour build:
https://bitbucket.org/fivetech/harbour-xharbour-builds/downloads

My advice: Use Harbour :-)

Please read this and you will understand some of the most important reasons to migrate to harbour:
viewtopic.php?f=6&t=30084
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Don't show the error
Posted: Wed Feb 04, 2015 03:45 PM
Marcelo,

Under Win 8.1 64 bit I get an error message for an undefined object.

James

Code (fw): Select all Collapse
#include "FiveWin.ch"
function Main()

   MsgInfo( valtype( oObject ) )    

return nil
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Re: Don't show the error
Posted: Tue Feb 10, 2015 06:37 PM
Hello,

following the Antonio's sugestion I'm trying to migrate to harbour, then many change I get this error file hb_out.log

Application Internal Error - D:\b\easyshotHB\easyshot.Exe
Terminated at: 2015-02-10 14:30:24
Error irrecuperable 9003: Demasiadas llamadas recursivas al controlador de errores
Called from TDIALOG:HANDLEEVENT(888) in Source\dialog.prg
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(270) in Source\dialog.prg
Called from ERRORDIALOG(418) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(23) in .\source\function\ERRSYSW.PRG
Called from TDIALOG:HANDLEEVENT(888) in Source\dialog.prg
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(270) in Source\dialog.prg
Called from ERRORDIALOG(418) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(23) in .\source\function\ERRSYSW.PRG
Called from TDIALOG:HANDLEEVENT(888) in Source\dialog.prg
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(270) in Source\dialog.prg
Called from ERRORDIALOG(418) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(23) in .\source\function\ERRSYSW.PRG
Called from TDIALOG:HANDLEEVENT(888) in Source\dialog.prg
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(270) in Source\dialog.prg
Called from ERRORDIALOG(418) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(23) in .\source\function\ERRSYSW.PRG
Called from TDIALOG:HANDLEEVENT(888) in Source\dialog.prg
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(270) in Source\dialog.prg
Called from ERRORDIALOG(418) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(23) in .\source\function\ERRSYSW.PRG
Called from TDIALOG:HANDLEEVENT(888) in Source\dialog.prg
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(270) in Source\dialog.prg
Called from ERRORDIALOG(418) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(23) in .\source\function\ERRSYSW.PRG
Called from TDIALOG:HANDLEEVENT(888) in Source\dialog.prg
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(270) in Source\dialog.prg
Called from ERRORDIALOG(418) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(23) in .\source\function\ERRSYSW.PRG
Called from TDIALOG:HANDLEEVENT(888) in Source\dialog.prg
Called from DIALOGBOXINDIRECT(0)
Called from TDIALOG:ACTIVATE(270) in Source\dialog.prg
Called from ERRORDIALOG(418) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(23) in .\source\function\ERRSYSW.PRG
Called from TBTNBMP:SETCOLOR(1466) in Source\btnbmp.prg
Called from TBTNBMP:NEWBAR(361) in Source\btnbmp.prg
Called from TAPPLICATION:BUILDBTNBAR(265) in Source\main.prg
Called from TAPPLICATION:ACTIVATE(189) in Source\main.prg
Called from MAIN(41) in Source\main.prg
------------------------------------------------------------------------


This is part of code

Code (fw): Select all Collapse
   DEFINE BUTTONBAR ::oBar OF ::oWndMain  SIZE 85, 55 2007

   DEFINE BUTTON OF ::oBar PROMPT "Almacenes" ;
      RESOURCE "items" ACTION ::opcion(1); 
      MESSAGE "Gestión de Inventarios"     
                                           
   DEFINE BUTTON OF ::oBar PROMPT "Compras" ;
      RESOURCE "compras" ACTION ::opcion(8) ;
      MESSAGE "Gestión de Compras"         
                                           
   DEFINE BUTTON OF ::oBar PROMPT "Proveedores" ;
      RESOURCE "proveedores1" ACTION ::opcion(7) ;
      MESSAGE "Gestión de Proveedores"


Some help?

Regards
Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Re: Don't show the error
Posted: Tue Feb 10, 2015 07:07 PM
Hello,

when the project is compiled, I get a big error.log file more than 2 MB, part of the content has reference about

Error description: Error BASE/1003 No existe la variable: SUPER


But I don't get the error in the screen, only in the file, I'm using xMate. One is the change I need to do to migrate to Harbour, but I think the other think is my xMate configuration

Regards

Marcelo Vía
Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Re: Don't show the error
Posted: Tue Feb 10, 2015 07:47 PM

Hello,

I think I need to change the '::' for 'super' when the object is referencing a data or method from the father class, but what I don't know is by I can't get the error directly at run time, I need the read the error.log

Some body here are working with xMate and Harbour, I would want to see the configuration files

regards

Marcelo

Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Re: Don't show the error
Posted: Tue Feb 10, 2015 09:49 PM
Defenitly,

I have some problems to build the buttonbar

Called from TDIALOG:ACTIVATE(270) in Source\dialog.prg
Called from ERRORDIALOG(418) in .\source\function\ERRSYSW.PRG
Called from (b)ERRORSYS(23) in .\source\function\ERRSYSW.PRG
Called from TBTNBMP:SETCOLOR(1466) in Source\btnbmp.prg
Called from TBTNBMP:NEWBAR(361) in Source\btnbmp.prg
Called from TAPPLICATION:BUILDBTNBAR(266) in Source\main.prg
Called from TAPPLICATION:ACTIVATE(189) in Source\main.prg
Called from MAIN(41) in Source\main.prg


I think isn't easy to switch to Harbour, maybe create a new project from 0

Thanks

Marcelo
Posts: 389
Joined: Mon Oct 13, 2008 11:26 AM
Re: Don't show the error
Posted: Wed Feb 11, 2015 10:37 AM
Marcelo Via Giglio wrote:Hello,

I think I need to change the '::' for 'super' when the object is referencing a data or method from the father class, but what I don't know is by I can't get the error directly at run time, I need the read the error.log

Some body here are working with xMate and Harbour, I would want to see the configuration files

regards

Marcelo


Because the error happen in the dialog of the error.
Called from TDIALOG:ACTIVATE(270) in Source\dialog.prg
Called from ERRORDIALOG(418) in .\source\function\ERRSYSW.PRG
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2

Continue the discussion