FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Error en FiveDbu - Para Antonio Linares
Posts: 196
Joined: Fri May 15, 2009 01:25 AM
Error en FiveDbu - Para Antonio Linares
Posted: Mon Jul 02, 2012 07:19 PM
Maestro :

Intente abrir un dbf con fivedbu y me marca error, este siempre lo habia abierto sin problemas con el prometehus

Anexo el codigo

Gracias

Code (fw): Select all Collapse
Application
===========
   Path and name: C:\FiveDbu\fivedbu.exe (32 bits)
   Size: 5,333,504 bytes
   Compiler version: Harbour 3.2.0dev (Rev. 17516)
   FiveWin  Version: FWH 12.05
   Windows version: 6.1, Build 7601 Service Pack 1

   Time from start: 0 hours 0 mins 29 secs 
   Error occurred at: 02/07/2012, 13:53:49
   Error description: Error BASE/1111  Argument error: LEN
   Args:
     [   1] = U   

Stack Calls
===========
   Called from:  => LEN( 0 )
   Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE( 529 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:COLATPOS( 0 )
   Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE( 531 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:SELECTEDCOL( 0 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT( 1275 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:DISPLAY( 1253 )
   Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1666 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 11632 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3159 )
   Called from:  => MSGALERT( 0 )
   Called from: .\source\classes\IMAGE.PRG => LOADFREEIMAGE( 340 )
   Called from: .\source\classes\IMAGE.PRG => FITYPEFROMMEMORY( 293 )
   Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:ADJUST( 8645 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:ADJUST( 984 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:INITIATE( 882 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:CREATEFROMCODE( 780 )
   Called from: C:\fwteam\samples\fivedbu.prg => OPEN( 260 )
   Called from: C:\fwteam\samples\fivedbu.prg => (b)MAIN( 35 )
   Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 465 )
   Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 656 )
   Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1690 )
   Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1408 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3159 )
   Called from:  => WINRUN( 0 )
   Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 980 )
   Called from: C:\fwteam\samples\fivedbu.prg => MAIN( 59 )
Juan Arroyo
México
FWH 7.12 VERCE 5.3 xHarbour 1.1.0
juan_arroyo_t@hotmail.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error en FiveDbu - Para Antonio Linares
Posted: Tue Jul 03, 2012 09:01 AM

Juan,

Cual es la estructura de la DBF ?

Puedes proporcionarla para descargarla y probar ? gracias :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 196
Joined: Fri May 15, 2009 01:25 AM
Re: Error en FiveDbu - Para Antonio Linares
Posted: Fri Jul 06, 2012 07:38 PM
Perdon por la tardanza

Este es el archivo en cuestion

https://www.box.com/s/b13573094ae4882a5db2

Gracias por todo
Juan Arroyo
México
FWH 7.12 VERCE 5.3 xHarbour 1.1.0
juan_arroyo_t@hotmail.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error en FiveDbu - Para Antonio Linares
Posted: Fri Jul 06, 2012 08:18 PM

Juan,

Ese error se produce al no encontrarse el fichero FreeImage.dll, que se nos olvidó incluir junto a FiveDBU.exe. Al detectarse un campo binario en tu DBF, intentamos comprobar si se trata de una imagen y por eso se accede a una función de FreeImage.dll

Por favor copia freeimage.dll desde c:\FWH\samples a donde tenga FiveDBU.exe y debe abrir bien tu DBF, gracias :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 196
Joined: Fri May 15, 2009 01:25 AM
Re: Error en FiveDbu - Para Antonio Linares (Solucionado)
Posted: Fri Jul 06, 2012 10:54 PM

Maestro

Funcionó perfecto

Muchas gracias

Juan Arroyo
México
FWH 7.12 VERCE 5.3 xHarbour 1.1.0
juan_arroyo_t@hotmail.com

Continue the discussion