----- Original Message ----- 
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Friday, January 26, 2007 9:04 PM
Subject: Re: [twsocket] Handles in components


>
> Should be no handle left. But pay attention that if you destroy any 
> control
> with a window handle from a thread which has not created the control, then
> the window handle is /not/destroyed (DestroyWindow fails but usually his
> return value is not checked).
>

Everything is created in the threads execute, so that should be fine.


> Have a look at Bear utility
> (http://www.geocities.com/the_real_sz/misc/bear_.htm) it can display the
> number of window handles an application use. Very handy to see if they are
> freed when you think.

I'll test it, but it needs to run as a service because the desktop switching 
occurs after a user logoff, after which regular applications are destroyed..


Thanks

Paul

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to