FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour lost memory with images in xBrowse
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: lost memory with images in xBrowse
Posted: Wed Dec 19, 2012 08:32 PM

Marcelo/Everyone;

Hi.

I think I hear crickets chirp. Not a good sign. I guess it is only the two of us saving images to a blob field that are later shown on an xbrowse? Or everyone else is living with the problem and simply accept that the application must be shutdown frequently? This is indeed a bug and an easy one to reproduce with your sample code.

I hope Mr. Rao takes notice and at least offer a workaround. Any attention to this bug or workaround suggestion will be appreciated.

Reinaldo.

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: lost memory with images in xBrowse
Posted: Wed Dec 19, 2012 09:37 PM

Reinaldo,
does this happen also if you read the bitmaps from disk.
Best regards,
Otto

Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Re: lost memory with images in xBrowse
Posted: Thu Dec 20, 2012 01:50 AM

Otto,

sorry, let me response your question, if you test the xbimg.prg sample (from sample folder) you will that this sample dosn't lost memory, then I think the problem is when the images come from DB.

best regards

Marcelo

Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Re: lost memory with images in xBrowse
Posted: Tue Jan 15, 2013 11:09 PM

Hello,

are there some news about this bug? or your think that this functionality is useful

best regards

Marcelo

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: lost memory with images in xBrowse
Posted: Wed Jan 16, 2013 12:55 AM

We are working on this issue.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Re: lost memory with images in xBrowse
Posted: Wed Jan 16, 2013 11:41 AM

Mr. Rao

thanks very much

best regards

Marcelo

Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: lost memory with images in xBrowse
Posted: Fri Jan 25, 2013 04:21 PM

I hate to bring this issue back to the foreground. I just hope there is progress.

Reinaldo.

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: lost memory with images in xBrowse
Posted: Wed Jan 30, 2013 01:48 AM
Please apply this fix to image.prg

Towards the end of the function FILoadFromMemory() in the Image.prg, please insert the line
Code (fw): Select all Collapse
      FIUNLOAD( hDib )

before the line
Code (fw): Select all Collapse
      FI_CloseMemory( hMem )
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: lost memory with images in xBrowse
Posted: Sun Feb 03, 2013 11:46 AM

Fixed in FWH 13.01

Regards



G. N. Rao.

Hyderabad, India
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: lost memory with images in xBrowse
Posted: Fri Mar 01, 2013 10:52 PM

Mr. Nages;

It seems like it does fix the problem. Thank you very much.

Reinaldo.

Continue the discussion