![]()  | 
 
XTPCommanBar is leaking memory | 
 
    Post Reply  
   | 
  
| Author | |
   
   securigy  
   
   Groupie  
   Joined: 23 November 2007 Status: Offline Points: 41  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: XTPCommanBar is leaking memoryPosted: 02 April 2009 at 11:22pm  | 
 
| 
   
    
   XTPCommanBar is leaking memory badly... Is there any way I should unload/uninitialize it?
    
   
   | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 03 April 2009 at 12:58am | 
 
| 
   
    Hi, You forget free something in your code. don't think you can find leaks in our samples. 
    | 
 |
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |
![]()  | 
 |
   
   securigy  
   
   Groupie  
   Joined: 23 November 2007 Status: Offline Points: 41  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 03 April 2009 at 4:25am | 
 
| 
   
    
   I followed the sample, but am wondering if there is Unload method or something like that that "frees" the command bar and whater resorses/memory it allocated...
    
   
   | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 06 April 2009 at 11:16am | 
 
| 
   
    
   Hi,
 
   
  destructor of CMainFrame deletes CommandBars object and it free all toolbars/controls/etc. 
    | 
 |
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |
![]()  | 
 |
   
   Pariksh*t  
   
   Groupie  
   Joined: 26 June 2008 Location: India Status: Offline Points: 77  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 07 October 2009 at 2:50am | 
 
| 
   
    
   i didnt find such code of deleting commnadbars in destructor of mainframe in your application.. 
   
  in which app u have done it?  | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |