lost memory with images in xBrowse

Re: lost memory with images in xBrowse

Postby reinaldocrespo » Wed Dec 19, 2012 8: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.
User avatar
reinaldocrespo
 
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Re: lost memory with images in xBrowse

Postby Otto » Wed Dec 19, 2012 9:37 pm

Reinaldo,
does this happen also if you read the bitmaps from disk.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: lost memory with images in xBrowse

Postby Marcelo Via Giglio » Thu Dec 20, 2012 1: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
Marcelo Via Giglio
 
Posts: 1064
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: lost memory with images in xBrowse

Postby Marcelo Via Giglio » 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
Marcelo Via Giglio
 
Posts: 1064
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: lost memory with images in xBrowse

Postby nageswaragunupudi » Wed Jan 16, 2013 12:55 am

We are working on this issue.
Regards

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

Re: lost memory with images in xBrowse

Postby Marcelo Via Giglio » Wed Jan 16, 2013 11:41 am

Mr. Rao

thanks very much

best regards

Marcelo
Marcelo Via Giglio
 
Posts: 1064
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: lost memory with images in xBrowse

Postby reinaldocrespo » Fri Jan 25, 2013 4:21 pm

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


Reinaldo.
User avatar
reinaldocrespo
 
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Re: lost memory with images in xBrowse

Postby nageswaragunupudi » Wed Jan 30, 2013 1: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: Select all  Expand view
     FIUNLOAD( hDib )
 

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

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

Re: lost memory with images in xBrowse

Postby nageswaragunupudi » Sun Feb 03, 2013 11:46 am

Fixed in FWH 13.01
Regards

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

Re: lost memory with images in xBrowse

Postby reinaldocrespo » Fri Mar 01, 2013 10:52 pm

Mr. Nages;

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


Reinaldo.
User avatar
reinaldocrespo
 
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Antonio Linares, Google [Bot] and 87 guests