FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour xbrowse con IsBinaryData y FITypeFromMemory
Posts: 694
Joined: Fri Oct 07, 2005 06:58 AM
xbrowse con IsBinaryData y FITypeFromMemory
Posted: Fri May 07, 2010 11:52 AM
He encontrado problemas usando estas funciones

En la primera he cambiado
Code (fw): Select all Collapse
if ( c < ' ' .and. !( c $ Chr( 9 ) + Chr( 10 ) + Chr( 13 ) 聽) )
por
Code (fw): Select all Collapse
if ( c < ' ' .and. !( c $ Chr( 9 ) + Chr( 10 ) + Chr( 13 ) + Chr( 26 ) ) )


Ya que me estaba dando problemas en la visualizaci贸n de campos memos

En la segunda he cambiado
Code (fw): Select all Collapse
return nFormat
por
Code (fw): Select all Collapse
return IfNil(nFormat, -1)


Por lo mismo. Algunos campos memos me los detecta como imagenes y llamar a la funci贸n FITypeFromMemory, como es l贸gico no puede hacer a la imagen, y nFormat ten铆a valor NIL
Un saludo

Fernando Gonz谩lez Diez

ALSIS Sistemas Inform谩ticos
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xbrowse con IsBinaryData y FITypeFromMemory
Posted: Sat May 08, 2010 02:50 AM

Including Chr(26) is a very important fix. Hope this will be fixed in the next release.

But is it really necessary to change the return value of FITypeFromMemory(<c>) function? Is there any character value for which this function returns NIL ? So far I have not found any. Can you please provide a sample character string for which this function returns NIL ?

Regards



G. N. Rao.

Hyderabad, India
Posts: 694
Joined: Fri Oct 07, 2005 06:58 AM
Re: xbrowse con IsBinaryData y FITypeFromMemory
Posted: Mon May 10, 2010 10:12 AM

nageswaragunupudi,

Gracias por la respuesta,

Voy a intentar generar un ejemplo con el problema.

Un saludo

Fernando Gonz谩lez Diez

ALSIS Sistemas Inform谩ticos
Posts: 694
Joined: Fri Oct 07, 2005 06:58 AM
Re: xbrowse con IsBinaryData y FITypeFromMemory
Posted: Mon May 10, 2010 11:06 AM

No consigo volver a reproducir el error.

Elimino la modificaci贸n en la funci贸n FITypeFromMemory.

Si me vuelve a pasar lo comento.

Muchas gracias.

Un saludo

Fernando Gonz谩lez Diez

ALSIS Sistemas Inform谩ticos

Continue the discussion