Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - XTPCommanBar is leaking memory
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XTPCommanBar is leaking memory

 Post Reply Post Reply
Author
Message
securigy View Drop Down
Groupie
Groupie


Joined: 23 November 2007
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote securigy Quote  Post ReplyReply Direct Link To This Post Topic: XTPCommanBar is leaking memory
    Posted: 02 April 2009 at 11:22pm
XTPCommanBar is leaking memory badly... Is there any way I should unload/uninitialize it?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
securigy View Drop Down
Groupie
Groupie


Joined: 23 November 2007
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote securigy Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Pariksh*t View Drop Down
Groupie
Groupie
Avatar

Joined: 26 June 2008
Location: India
Status: Offline
Points: 77
Post Options Post Options   Thanks (0) Thanks(0)   Quote Pariksh*t Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.