Problemas xbrowse 2210 (xharbour)

Post Reply
User avatar
leandro
Posts: 1688
Joined: Wed Oct 26, 2005 2:49 pm
Location: Colombia
Contact:

Problemas xbrowse 2210 (xharbour)

Post by leandro »

Hola buenos días para todos

Estamos intentando actualizar la versión de fw, hasta ahora sin éxito, intentamos con harbour, pero nada que logramos solucionar el tema de _ especiales, tildes y eñes.

Por esta razón quisimos intentar con la versión 2210 pero con xharbour, para ver si teníamos menos inconvenientes, pero no _ un xbrowse que esta vacío.

Este mismo código funcionaba bien con la versión 1909.

Con un array

Code: Select all | Expand

Application
===========
   Path and name: C:\DLYMA\hymlyma.exe (32 bits)
   Size: 8,469,504 bytes
   Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20201212)
   FiveWin  version: FWH 22.10
   C compiler version: Borland/Embarcadero C++ 7.3 (32-bit)
   Windows 11 64 Bits, version: 6.2, Build 9200 

   Time from start: 0 hours 2 mins 12 secs 
   Error occurred at: 15/11/2022, 11:07:36
   Error description: Error BASE/1068  Error de argumento: acceso al array
   Args:
     [   1] = A   {TXBRWCOLUMN,TXBRWCOLUMN,TXBRWCOLUMN,TXBRWCOLUMN,TXBRWCOLUMN,TXBRWCOLUMN,TXBRWCOLUMN,TXBRWCOLU ... } length: 10
     [   2] = U   

Stack Calls
===========
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:COLATPOS( 4637 )
   Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:TXBROWSE( 728 )
   Called from:  => TXBROWSE:SELECTEDCOL( 0 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT( 2235 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:DISPLAY( 2180 )
   Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1823 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 12232 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3689 )
   Called from:  => DIALOGBOXINDIRECTW( 0 )
   Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 307 )
   Called from: .\source\function\ERRSYSW.PRG => ERRORDIALOG( 449 )
   Called from: .\source\function\ERRSYSW.PRG => (b)ERRORSYS( 24 )
   Called from: .\source\classes\IMAGE.PRG => LOADFREEIMAGE( 505 )
   Called from: .\source\classes\IMAGE.PRG => FREEIMAGEISLOADED( 519 )
   Called from: .\source\function\IMGTXTIO.PRG => MEMORYBUFFERTYPE( 1935 )
   Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:ADJUST( 13242 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:ADJUST( 1536 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:INITIATE( 1378 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:CREATEFROMCODE( 1219 )
   Called from: z:\prg\R32_fact.prg => FFACTURAS( 429 )
   Called from: z:\prg\R32_fact.prg => R32_FACT( 57 )
   Called from: z:\prg\Alyma.prg => (b)TLYMA:AUTORIZA( 1505 )
   Called from: z:\prg\Alyma.prg => TLYMA:AUTORIZA( 1505 )
   Called from: z:\prg\R32_menu.prg => (b)VTNAPRINCIPAL( 518 )
   Called from: .\source\classes\TRBTN.PRG => TRBTN:CLICK( 717 )
   Called from: .\source\classes\TRBTN.PRG => TRBTN:LBUTTONUP( 920 )
   Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1847 )
   Called from: .\source\classes\TRBTN.PRG => TRBTN:HANDLEEVENT( 1578 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3689 )
   Called from:  => WINRUN( 0 )
   Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 1114 )
   Called from: z:\prg\R32_menu.prg => VTNAPRINCIPAL( 613 )
   Called from: z:\prg\R32_menu.prg => MAIN( 109 )

System
======
   CPU type: Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz 2904 Mhz
   Hardware memory: 8105 megs

   Free System resources: 90 %
        GDI    resources: 90 %
        User   resources: 90 %

   Windows total applications running: 3
      1 ,                                                                                                     
      2 , C:\DLYMA\hymlyma.exe                                                                                
      3 GDI+ Window (hymlyma.exe), C:\WINDOWS\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.22621.819_none_21dd7a56301966e 
 
con un recorset

Code: Select all | Expand

Application
===========
   Path and name: C:\dlyma\hymlyma.exe (32 bits)
   Size: 8,469,504 bytes
   Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20201212)
   FiveWin  version: FWH 22.10
   C compiler version: Borland/Embarcadero C++ 7.3 (32-bit)
   Windows 11 64 Bits, version: 6.2, Build 9200 

   Time from start: 0 hours 0 mins 42 secs 
   Error occurred at: 15/11/2022, 11:52:37
   Error description: Error ADODB.RecordSet:FIELDS/9  El valor de BOF o EOF es True, o el actual registro se eliminó; la operación solicitada requiere un registro actual.: VALUE
   Args:

Stack Calls
===========
   Called from:  => TOLEAUTO:VALUE( 0 )
   Called from: z:\prg\R32_coin.prg => (b)FCOMPINVEN( 337 )
   Called from: .\source\classes\XBROWSE.PRG => TXBRWCOLUMN:ERASEDATA( 15328 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:ERASEDATA( 3281 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:PAINT( 2545 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:DISPLAY( 2180 )
   Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1823 )
   Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 12232 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3689 )
   Called from:  => UPDATEWINDOW( 0 )
   Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE( 1091 )
   Called from: .\source\classes\MDICHILD.PRG => TMDICHILD:ACTIVATE( 269 )
   Called from: z:\prg\R32_coin.prg => FCOMPINVEN( 364 )
   Called from: z:\prg\R32_coin.prg => R32_COIN( 54 )
   Called from: z:\prg\R32_menu.prg => (b)VTNAPRINCIPAL( 305 )
   Called from: .\source\classes\TRBTN.PRG => TRBTN:CLICK( 717 )
   Called from: .\source\classes\TRBTN.PRG => TRBTN:LBUTTONUP( 920 )
   Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1847 )
   Called from: .\source\classes\TRBTN.PRG => TRBTN:HANDLEEVENT( 1578 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3689 )
   Called from:  => WINRUN( 0 )
   Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 1114 )
   Called from: z:\prg\R32_menu.prg => VTNAPRINCIPAL( 613 )
   Called from: z:\prg\R32_menu.prg => MAIN( 109 )

System
======
   CPU type: Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz 2904 Mhz
   Hardware memory: 8105 megs

   Free System resources: 90 %
        GDI    resources: 90 %
        User   resources: 90 %

   Windows total applications running: 4
      1 ,                                                                                                     
      2 , C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.608_none_f0f1837 
      3 Conmutación de tareas, C:\dlyma\hymlyma.exe                                                                                
      4 GDI+ Window (hymlyma.exe), C:\WINDOWS\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.22621.819_none_21dd7a56301966e 

 
Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Embarcadero C++ 7.60 for Win32 ] [ FiveWin 23.07 ] [ xHarbour 1.3.0 Intl. (SimpLex) (Build 20230914) ]
User avatar
Antonio Linares
Site Admin
Posts: 42268
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Problemas xbrowse 2210 (xharbour)

Post by Antonio Linares »

Estimado Leandro,

El Sr. Rao lo está revisando

El error viene de aqui:
oCol := ::aCols[ ATail( ::aDisplay ) ]

Parece que ATail( ::aDisplay ) esta devolviendo nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Problemas xbrowse 2210 (xharbour)

Post by nageswaragunupudi »

I tested with an empty array here and did not get any errors.
This is my test program:

Code: Select all | Expand

#include "fivewin.ch"

function Main()

   local aData := {}

   XBROWSER aData COLUMNS 1,2,3,4,5,6 ;
      TITLE VERSION() + " : " + FWVERSION

return nil
 
Image

Can you please provide a small example to test here?
Regards

G. N. Rao.
Hyderabad, India
Post Reply