FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FW_READIMAGE crash with this Picture
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
FW_READIMAGE crash with this Picture
Posted: Thu Oct 20, 2022 09: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
greeting,

Jimmy
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: FW_READIMAGE crash with this Picture
Posted: Thu Oct 20, 2022 10:25 AM

Can you send me that image so I can do some tests?

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: FW_READIMAGE crash with this Picture
Posted: Thu Oct 20, 2022 11:51 AM
Ok, first test that seems to work fine here. Please modify it to make it crash:

Code (fw): Select all Collapse
#include "Fivewin.ch"


FUNCTION MAIN()

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

    RETURN NIL
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: FW_READIMAGE crash with this Picture
Posted: Thu Oct 20, 2022 03:27 PM

Please check usage of parameters.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: FW_READIMAGE crash with this Picture
Posted: Fri Oct 21, 2022 05: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

Continue the discussion