Print Page | Close Window

Why is the CXTDirWatcher descructor protected?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=10945
Printed Date: 27 April 2024 at 11:45am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Why is the CXTDirWatcher descructor protected?
Posted By: cpede
Subject: Why is the CXTDirWatcher descructor protected?
Date Posted: 07 June 2008 at 1:57am
I'm using the CXTDirWatcher class to monitor changes in folders. But I cannot clean up memory because the CXTDirWatcher descructor is declared as protected, why?
 
-cpede



Replies:
Posted By: terrym
Date Posted: 13 June 2008 at 12:41pm
Was this changed for 12.0 XTP ??? As we are soon to use this aswell.


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey


Posted By: cpede
Date Posted: 13 June 2008 at 2:29pm
No since I'm usign v1200. Please answer if you consider changing that in a future relase.
 
-cpede


Posted By: Oleg
Date Posted: 13 June 2008 at 4:12pm
Hi,
 
Its designed. CXTDirWatcher has AutoDelete option - it will free self after exit.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: cpede
Date Posted: 14 June 2008 at 9:31am
Ok, but you need to call the StopNotifications() method.
-cpede



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net