FWBitmap invalid parameter
Posted: Mon Dec 07, 2020 7:55 pm
ciao a tutti,
sto provando finalmente ad aggiornare le mie librerie con Fivewin 2020 e Harbour 3.0, ricompilando il mio gestionale ho il seguente errore:
"FWBitmap invalid parameter"
se provo a compilare l'intera applicazione con il debugger attivo (/b switch) il programma va subito in crash con il seguente stack:
Called from GDIP_FROMHBITMAP(0)
Called from FW_READIMAGE(1462) in .\IMGTXTIO.prg
Called from (b)TWINDOW(585) in .\source\classes\WINDOW.PRG
Called from TXBROWSE:READIMAGE(0) in .\source\classes\WINDOW.PRG
Called from FNADDBITMAP(15078) in .\source\classes\XBROWSE.PRG
Called from (b)TXBRWCOLUMN(11853) in .\source\classes\XBROWSE.PRG
Called from TXBRWCOLUMN:ADDRESOURCE(0) in .\source\classes\XBROWSE.PRG
Called from TDBG:ACTIVATE(307) in .\source\classes\FWDBG.PRG
Called from __DBGENTRY(89) in .\source\classes\FWDBG.PRG
Called from ERRORSYS(31) in .\ERRSYSW.prg
Called from __HBVMINIT(74) in ../../../harbinit.prg
provando ad inserire un 'traceLog' immediatamente prima della chiamata a GDIP_FROMHBITMAP() ottengo queste informazioni:
[.\IMGTXTIO.prg->FW_READIMAGE] ( 1460) Called From:
.\source\classes\WINDOW.PRG->(b)TWINDOW( 585)
.\source\classes\WINDOW.PRG->TXBROWSE:READIMAGE( 0)
.\source\classes\XBROWSE.PRG->FNADDBITMAP( 15078)
.\source\classes\XBROWSE.PRG->(b)TXBRWCOLUMN( 11853)
.\source\classes\XBROWSE.PRG->TXBRWCOLUMN:ADDRESOURCE( 0)
.\source\classes\FWDBG.PRG->TDBG:ACTIVATE( 307)
.\source\classes\FWDBG.PRG->__DBGENTRY( 89)
.\ERRSYSW.prg->ERRORSYS( 31)
../../../harbinit.prg->__HBVMINIT( 74)
Data: 12/07/20
Ora: 20:42:38
lGDIPImage: Tipo var: L>>>.T.<<<
lReadByFreeImage: Tipo var: L>>>.F.<<<
aBmp: Tipo var: A>>>
-1106951790
0
16
16
.F.
16DbgBrk
.T.
BITMAP
12632256
<<<
grazie a chi vorrà dare un mano
Roberto
sto provando finalmente ad aggiornare le mie librerie con Fivewin 2020 e Harbour 3.0, ricompilando il mio gestionale ho il seguente errore:
"FWBitmap invalid parameter"
se provo a compilare l'intera applicazione con il debugger attivo (/b switch) il programma va subito in crash con il seguente stack:
Called from GDIP_FROMHBITMAP(0)
Called from FW_READIMAGE(1462) in .\IMGTXTIO.prg
Called from (b)TWINDOW(585) in .\source\classes\WINDOW.PRG
Called from TXBROWSE:READIMAGE(0) in .\source\classes\WINDOW.PRG
Called from FNADDBITMAP(15078) in .\source\classes\XBROWSE.PRG
Called from (b)TXBRWCOLUMN(11853) in .\source\classes\XBROWSE.PRG
Called from TXBRWCOLUMN:ADDRESOURCE(0) in .\source\classes\XBROWSE.PRG
Called from TDBG:ACTIVATE(307) in .\source\classes\FWDBG.PRG
Called from __DBGENTRY(89) in .\source\classes\FWDBG.PRG
Called from ERRORSYS(31) in .\ERRSYSW.prg
Called from __HBVMINIT(74) in ../../../harbinit.prg
provando ad inserire un 'traceLog' immediatamente prima della chiamata a GDIP_FROMHBITMAP() ottengo queste informazioni:
[.\IMGTXTIO.prg->FW_READIMAGE] ( 1460) Called From:
.\source\classes\WINDOW.PRG->(b)TWINDOW( 585)
.\source\classes\WINDOW.PRG->TXBROWSE:READIMAGE( 0)
.\source\classes\XBROWSE.PRG->FNADDBITMAP( 15078)
.\source\classes\XBROWSE.PRG->(b)TXBRWCOLUMN( 11853)
.\source\classes\XBROWSE.PRG->TXBRWCOLUMN:ADDRESOURCE( 0)
.\source\classes\FWDBG.PRG->TDBG:ACTIVATE( 307)
.\source\classes\FWDBG.PRG->__DBGENTRY( 89)
.\ERRSYSW.prg->ERRORSYS( 31)
../../../harbinit.prg->__HBVMINIT( 74)
Data: 12/07/20
Ora: 20:42:38
lGDIPImage: Tipo var: L>>>.T.<<<
lReadByFreeImage: Tipo var: L>>>.F.<<<
aBmp: Tipo var: A>>>
-1106951790
0
16
16
.F.
16DbgBrk
.T.
BITMAP
12632256
<<<
grazie a chi vorrà dare un mano
Roberto