Program freeze

Program freeze

Postby Enrico Maria Giordano » Thu Sep 14, 2006 9:14 am

Please try this sample with BBC and warning disabled:

Code: Select all  Expand view
#include "Fivewin.ch"


FUNCTION MAIN()

    ? test

    RETURN NIL


It just freeze with latest FWH.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Thu Sep 14, 2006 10:39 am

Enrico,

Here it is working fine with both Harbour and xHarbour:
Image
regards, saludos

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

Postby Enrico Maria Giordano » Thu Sep 14, 2006 11:05 am

With Harbour it works fine here too. Did you try using latest xHarbour from CVS?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Enrico Maria Giordano » Thu Sep 14, 2006 11:13 am

The problem is in the following code from errsysw.prg:

Code: Select all  Expand view
while ! Empty( __ClassName( n ) )
   cErrorLog += "   " + Str( n, 3 ) + " " + __ClassName( n++ ) + CRLF
end


__ClassName( n ) is never empty with latest xHarbour from CVS.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Thu Sep 14, 2006 6:18 pm

Enrico,

It looks as they broke backwards compatibility...

Thanks for the feedback,
regards, saludos

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

ErrSysw....

Postby Rodolfo » Thu Sep 14, 2006 6:56 pm

Enrrico,

Ya llevaba algún rato teniendo este problema sin poder resolverlo. ¿Existe alguna solución para el problema con este código y xHarbour?

while ! Empty( __ClassName( n ) )
cErrorLog += " " + Str( n, 3 ) + " " + __ClassName( n++ ) + CRLF
end

Saludos,


Rodolfo MG
User avatar
Rodolfo
 
Posts: 2
Joined: Tue Oct 11, 2005 5:27 pm

Re: ErrSysw....

Postby Enrico Maria Giordano » Thu Sep 14, 2006 7:13 pm

Try

Code: Select all  Expand view
while  __ClassName( n ) != "NUMERIC"
   cErrorLog += "   " + Str( n, 3 ) + " " + __ClassName( n++ ) + CRLF
end


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: ErrSysw....

Postby wmormar » Fri Sep 15, 2006 3:49 am

EnricoMaria wrote:Try

Code: Select all  Expand view
while  __ClassName( n ) != "NUMERIC"
   cErrorLog += "   " + Str( n, 3 ) + " " + __ClassName( n++ ) + CRLF
end


EMG


Code: Select all  Expand view
   WHILE n <= __ClsCntClasses()
      cErrorLog +=  "   " + Str( n, 3 ) + " " + __ClassName( n++ )+ CRLF
   END


Trata de esta manera, solo hay que actualizar el xHarbour con lo ultimo del CVS.
William, Morales
Saludos

méxico.sureste
User avatar
wmormar
 
Posts: 1074
Joined: Fri Oct 07, 2005 10:41 pm
Location: México


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 64 guests