FW_READIMAGE crash with this Picture

FW_READIMAGE crash with this Picture

Postby Jimmy » Thu Oct 20, 2022 9:22 am

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
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: FW_READIMAGE crash with this Picture

Postby Enrico Maria Giordano » Thu Oct 20, 2022 10:25 am

Can you send me that image so I can do some tests?
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: FW_READIMAGE crash with this Picture

Postby Enrico Maria Giordano » Thu Oct 20, 2022 11:51 am

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
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: FW_READIMAGE crash with this Picture

Postby nageswaragunupudi » Thu Oct 20, 2022 3:27 pm

Please check usage of parameters.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: FW_READIMAGE crash with this Picture

Postby Jimmy » Fri Oct 21, 2022 5:18 am

hi,

Thx for Answer

i wrote my Answer in this Thread
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=42330
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1725
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Silvio.Falconi and 51 guests