Page 1 of 1

FW_READIMAGE crash with this Picture

PostPosted: Thu Oct 20, 2022 9:22 am
by Jimmy
hi,

what is wrong with a Picture that hole App crash ?
Called from GDIP_IMAGEFROMFILE(0)
Called from FW_READIMAGE(1459) in .\source\function\IMGTXTIO.PRG
Called from (b)TWINDOW(602) in .\source\classes\WINDOW.PRG
Called from TWINDOW:READIMAGE(0) in .\source\classes\WINDOW.PRG
Called from TGRID:FILLGRID(467) in TGRID.prg
Called from DONEXTFOLDER(234) in TGRID.prg
Called from DOGETITEM(200) in TGRID.prg
Called from (b)TGRID_NEW(370) in TGRID.prg
Called from TGRID:NOTIFY(530) in TGRID.prg
Called from TWINDOW:NOTIFY(1612) in .\source\classes\WINDOW.PRG
Called from TWINDOW:HANDLEEVENT(0)
Called from _FWH(3681) in .\source\classes\WINDOW.PRG
Called from WINRUN(0)
Called from TWINDOW:ACTIVATE(1114) in .\source\classes\WINDOW.PRG
Called from MAIN(101) in TGRID.prg

here some Info
Image

Re: FW_READIMAGE crash with this Picture

PostPosted: Thu Oct 20, 2022 10:25 am
by Enrico Maria Giordano
Can you send me that image so I can do some tests?

Re: FW_READIMAGE crash with this Picture

PostPosted: Thu Oct 20, 2022 11:51 am
by Enrico Maria Giordano
Ok, first test that seems to work fine here. Please modify it to make it crash:

Code: Select all  Expand view
#include "Fivewin.ch"


FUNCTION MAIN()

    ? FW_ReadImage( , "DSL_Verfügbarkeit2.JPG" )

    RETURN NIL

Re: FW_READIMAGE crash with this Picture

PostPosted: Thu Oct 20, 2022 3:27 pm
by nageswaragunupudi
Please check usage of parameters.

Re: FW_READIMAGE crash with this Picture

PostPosted: Fri Oct 21, 2022 5:18 am
by Jimmy
hi,

Thx for Answer

i wrote my Answer in this Thread
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=42330