FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Bug in TBar?
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: Bug in TBar?
Posted: Thu Dec 29, 2011 09:38 PM
ukservice wrote:Did you interact with your software?.


Yes, i used

ukservice wrote:Also, during my tests i found out sometimes a resource leak with checkres():
CODE: SELECT ALL  EXPAND VIEW
FONT,1292505504,TWINDOW:GETFONT(2732)->TWINDOW:NEW(847)->MAIN(179)


if your main windows, dont worry about that...

try to test, check resource before go in a module and check after go out of module
Posts: 417
Joined: Tue Feb 23, 2010 03:09 PM
Re: Bug in TBar?
Posted: Thu Dec 29, 2011 11:20 PM

Daniel,

This leak appears before QUIT, not in/between modules.

It may be related.

Why all resouces are NOT cleared by FWH before exiting the application?.

Thanks.

FWH 11.11, Harbour 3.1 and Borland C++ 5.82
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: Bug in TBar?
Posted: Fri Dec 30, 2011 01:36 AM
ukservice wrote:This leak appears before QUIT, not in/between modules.


yes, i know

Daniel Garcia-Gil wrote:try to test, check resource before go in a module and check after go out of module

if you want report the results

ukservice wrote:Why all resouces are NOT cleared by FWH before exiting the application?.

really is no matter, all will be released after quit... when you say "Why all resouces are NOT cleared" what other gdi object is not release?


Daniel Garcia-Gil wrote:Other samples

More hard

Code (fw): Select all Collapse
define timer oTimer interval 1000 action ( If( n++%2 == 0,  oWnd:Move( , , 100, 100 ), oWnd:Move( , , 800, 800 ) ), sysrefresh() ) of oWnd


this test is finished after 7 hours without problem....

i'm using TransBmp provided by Fivetech...

is really important you provide a sample...
Posts: 417
Joined: Tue Feb 23, 2010 03:09 PM
Re: Bug in TBar?
Posted: Fri Dec 30, 2011 11:59 AM

Daniel,

Thanks again for time and support.

It is not a question of sintax or sample that does not work (it is not an error as the one that happens when trying to build samples\skin1.prg or skin2.prg).

Code works fine most of the times. So it is a question of runtime, related to resources or transbmp.

Please, see viewtopic.php?f=3&t=21662

Carlos Vargas, Maurizio and Enrico confirmed the error also.

FWH 11.11, Harbour 3.1 and Borland C++ 5.82
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: Bug in TBar?
Posted: Fri Dec 30, 2011 12:43 PM
Enrico Maria Giordano wrote:Unfortunately not. It is very very random. Myself I didn't saw the problem anymore.

EMG


about carlos cargas... i dont know if the problem continue to him

i'll will do the test with xharbour now
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: Bug in TBar?
Posted: Fri Dec 30, 2011 03:27 PM

i return to xharbour and the error is not present yet.
salu2
carlos vargas

Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)
Posts: 417
Joined: Tue Feb 23, 2010 03:09 PM
Re: Bug in TBar?
Posted: Fri Dec 30, 2011 07:03 PM
Daniel,

Unfortunately not. It is very very random. Myself I didn't saw the problem anymore.



The error does not occur very often during develop tests, but it is more often in production use.

I am afraid not all programmers test the software as hard as I do. Also, in every build I always discover new bugs :-).

Thanks again for all your so valuable help and support.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82

Continue the discussion