Bug in TBar?

User avatar
Daniel Garcia-Gil
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita
Contact:

Re: Bug in TBar?

Post by Daniel Garcia-Gil »

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
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
User avatar
ukservice
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: Bug in TBar?

Post by ukservice »

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
User avatar
Daniel Garcia-Gil
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita
Contact:

Re: Bug in TBar?

Post by Daniel Garcia-Gil »

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: Select all

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...
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
User avatar
ukservice
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: Bug in TBar?

Post by ukservice »

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 http://forums.fivetechsupport.com/viewt ... =3&t=21662

Carlos Vargas, Maurizio and Enrico confirmed the error also.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
Daniel Garcia-Gil
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita
Contact:

Re: Bug in TBar?

Post by Daniel Garcia-Gil »

Enrico Maria Giordano wrote:Unfortunately not. It is very very random. Myself I didn't saw the problem anymore.

EMG
about _... i dont know if the problem continue to him

i'll will do the test with xharbour now
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
User avatar
carlos vargas
Posts: 1421
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: Bug in TBar?

Post by carlos vargas »

i return to xharbour and the error is not present yet.
salu2
carlos vargas
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
ukservice
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: Bug in TBar?

Post by ukservice »

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
Post Reply