Page 2 of 2

Re: lost memory with images in xBrowse

PostPosted: Wed Dec 19, 2012 8:32 pm
by reinaldocrespo
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.

Re: lost memory with images in xBrowse

PostPosted: Wed Dec 19, 2012 9:37 pm
by Otto
Reinaldo,
does this happen also if you read the bitmaps from disk.
Best regards,
Otto

Re: lost memory with images in xBrowse

PostPosted: Thu Dec 20, 2012 1:50 am
by Marcelo Via Giglio
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

Re: lost memory with images in xBrowse

PostPosted: Tue Jan 15, 2013 11:09 pm
by Marcelo Via Giglio
Hello,

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

best regards

Marcelo

Re: lost memory with images in xBrowse

PostPosted: Wed Jan 16, 2013 12:55 am
by nageswaragunupudi
We are working on this issue.

Re: lost memory with images in xBrowse

PostPosted: Wed Jan 16, 2013 11:41 am
by Marcelo Via Giglio
Mr. Rao

thanks very much

best regards

Marcelo

Re: lost memory with images in xBrowse

PostPosted: Fri Jan 25, 2013 4:21 pm
by reinaldocrespo
I hate to bring this issue back to the foreground. I just hope there is progress.


Reinaldo.

Re: lost memory with images in xBrowse

PostPosted: Wed Jan 30, 2013 1:48 am
by nageswaragunupudi
Please apply this fix to image.prg

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

before the line
Code: Select all  Expand view
     FI_CloseMemory( hMem )
 

Re: lost memory with images in xBrowse

PostPosted: Sun Feb 03, 2013 11:46 am
by nageswaragunupudi
Fixed in FWH 13.01

Re: lost memory with images in xBrowse

PostPosted: Fri Mar 01, 2013 10:52 pm
by reinaldocrespo
Mr. Nages;

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


Reinaldo.