Hi,
Someone meets the problem?
Sometimes the dialogs get hangup or screen disordered ,controls include 2007 look xbrowse ,buttons,get dialogs.
Before ,we used xharbour 996+fwh2.5 without the problems.
Is there a way to detect which resource not released?
Off topic, where could upload jpg picture ?
Best regards!
Shuming Wang
fwh712-801 +harbour 1.1( from fivetech) app crash?
-
- Posts: 454
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China
fwh712-801 +harbour 1.1( from fivetech) app crash?
Last edited by ShumingWang on Fri Jan 18, 2008 12:41 am, edited 1 time in total.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Shuming,
Please use www.imageshack.us to upload the screenshots and copy here the provided URLs to see them.
No one else has reported those problems about 7.12, or 8.01. Please provide a sample to reproduce them, thanks
Please use www.imageshack.us to upload the screenshots and copy here the provided URLs to see them.
No one else has reported those problems about 7.12, or 8.01. Please provide a sample to reproduce them, thanks
-
- Posts: 454
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China
Antonio,
Open a dialog with buttons,gets, after close, the windows task manage table shows the memory not released.
A xbrowse(dbf,tmysql or array data type), page up will cause memory used increase, While page down,up and down do not increase memory used.
It seems that releaseDC() function do not work.
Harbour 1.1+fwh 801
Best regards!
Shuming Wang
Open a dialog with buttons,gets, after close, the windows task manage table shows the memory not released.
A xbrowse(dbf,tmysql or array data type), page up will cause memory used increase, While page down,up and down do not increase memory used.
It seems that releaseDC() function do not work.
Harbour 1.1+fwh 801
Best regards!
Shuming Wang
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Shuming,
You may also use this:
http://fivetechsoft.com/forums/viewtopic.php?p=46984
Review Patrizio's explanation about MSDN GDIndicator e GDIUsage
You may also use this:
http://fivetechsoft.com/forums/viewtopic.php?p=46984
Review Patrizio's explanation about MSDN GDIndicator e GDIUsage
-
- Posts: 454
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China
Antonio,
1.Sorry by my mistake removed a line DeleteObject( hBrush ) in method paintheader(), caused resource not released.
2.method paintheader()
if Empty( cHeader )
::oBrw:ReleaseDC()
return nil
endif
should change into
if Empty( cHeader )
if lOwnDC;::oBrw:ReleaseDC(); end
return nil
endif
3. method box()
add ::obrw:releaseDC()
4. dialog.prg
add METHOD UPDATE() inline ::aEvalWhen(),super:UPDATE()
to update controls lwhen
Regards!
Shuming Wang
1.Sorry by my mistake removed a line DeleteObject( hBrush ) in method paintheader(), caused resource not released.
2.method paintheader()
if Empty( cHeader )
::oBrw:ReleaseDC()
return nil
endif
should change into
if Empty( cHeader )
if lOwnDC;::oBrw:ReleaseDC(); end
return nil
endif
3. method box()
add ::obrw:releaseDC()
4. dialog.prg
add METHOD UPDATE() inline ::aEvalWhen(),super:UPDATE()
to update controls lwhen
Regards!
Shuming Wang