FW_READIMAGE crash with this Picture

Post Reply
User avatar
Jimmy
Posts: 1740
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany
Has thanked: 2 times

FW_READIMAGE crash with this Picture

Post 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
greeting,
Jimmy
User avatar
Enrico Maria Giordano
Posts: 8761
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 5 times
Contact:

Re: FW_READIMAGE crash with this Picture

Post by Enrico Maria Giordano »

Can you send me that image so I can do some tests?
User avatar
Enrico Maria Giordano
Posts: 8761
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 5 times
Contact:

Re: FW_READIMAGE crash with this Picture

Post by Enrico Maria Giordano »

Ok, first test that seems to work fine here. Please modify it to make it crash:

Code: Select all | Expand

#include "Fivewin.ch"


FUNCTION MAIN()

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

    RETURN NIL
User avatar
nageswaragunupudi
Posts: 10729
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 10 times
Contact:

Re: FW_READIMAGE crash with this Picture

Post by nageswaragunupudi »

Please check usage of parameters.
Regards

G. N. Rao.
Hyderabad, India
User avatar
Jimmy
Posts: 1740
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany
Has thanked: 2 times

Re: FW_READIMAGE crash with this Picture

Post by Jimmy »

hi,

Thx for Answer

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