Don't show the error

Don't show the error

Postby Marcelo Via Giglio » 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
Marcelo Via Giglio
 
Posts: 1050
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: Don't show the error

Postby Antonio Linares » Wed Feb 04, 2015 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Don't show the error

Postby James Bott » Wed Feb 04, 2015 3:45 pm

Marcelo,

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

James

Code: Select all  Expand view
#include "FiveWin.ch"
function Main()

   MsgInfo( valtype( oObject ) )   

return nil
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Don't show the error

Postby Marcelo Via Giglio » Tue Feb 10, 2015 6: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: Select all  Expand view
  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
Marcelo Via Giglio
 
Posts: 1050
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: Don't show the error

Postby Marcelo Via Giglio » Tue Feb 10, 2015 7: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
Marcelo Via Giglio
 
Posts: 1050
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: Don't show the error

Postby Marcelo Via Giglio » Tue Feb 10, 2015 7: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
Marcelo Via Giglio
 
Posts: 1050
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: Don't show the error

Postby Marcelo Via Giglio » Tue Feb 10, 2015 9: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
Marcelo Via Giglio
 
Posts: 1050
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: Don't show the error

Postby sambomb » 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
MSN: SamirAbreu@hotmail.com
Skype: SamirAbreu
xHarbour 1.1.0 + FwXh 8.02
xHarbour 1.2.1 + Fwhh 10.6
User avatar
sambomb
 
Posts: 385
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 75 guests