Program freeze

Post Reply
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Program freeze

Post by Enrico Maria Giordano »

Please try this sample with BBC and warning disabled:

Code: Select all

#include "Fivewin.ch"


FUNCTION MAIN()

    ? test

    RETURN NIL
It just freeze with latest FWH.

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Enrico,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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

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

Post by Enrico Maria Giordano »

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

Code: Select all

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Enrico,

It looks as they broke backwards compatibility...

Thanks for the feedback,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Rodolfo
Posts: 2
Joined: Tue Oct 11, 2005 5:27 pm

ErrSysw....

Post by Rodolfo »

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
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: ErrSysw....

Post by Enrico Maria Giordano »

Try

Code: Select all

while  __ClassName( n ) != "NUMERIC"
   cErrorLog += "   " + Str( n, 3 ) + " " + __ClassName( n++ ) + CRLF
end
EMG
User avatar
wmormar
Posts: 1050
Joined: Fri Oct 07, 2005 10:41 pm
Location: México
Contact:

Re: ErrSysw....

Post by wmormar »

EnricoMaria wrote:Try

Code: Select all

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

Code: Select all

   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
Post Reply