Modeless CMFCPropertySheet Not Being Cleaned On App Exit.
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Modeless CMFCPropertySheet Not Being Cleaned On App Exit.

  1. #1
    Join Date
    Jul 2013
    Location
    USA
    Posts
    30

    Modeless CMFCPropertySheet Not Being Cleaned On App Exit.

    I have a Modeless CMFCPropertySheet created and opened from the main frame. if I open the Modeless CMFCPropertySheet and close it then it's fine all the cleanup is performed through the destructor and the this pointer gets deleted. If I exit the app while the Modeless CMFCPropertySheet is open then the Modeless CMFCPropertySheet gets destroyed but the cleanup is not performed resulting in memory leaks for the pages. How can I make sure the cleanup is performed in that given scenario?

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,197

    Re: Modeless CMFCPropertySheet Not Being Cleaned On App Exit.

    You are going to have to post the code on how you create and cleanup the property sheet.

  3. #3
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Posts
    12,053

    Re: Modeless CMFCPropertySheet Not Being Cleaned On App Exit.

    If you exit the app, the OS is going to free all its associated memory anyway.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center