Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. When the application is run, when we switch over all the views for some time, the application suddenly crashes.

When the application is run, when we switch over all the views for some time, the application suddenly crashes.

Scheduled Pinned Locked Moved C / C++ / MFC
help
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    manoharbalu
    wrote on last edited by
    #1

    I'm working on a project in which the parent frame is CMDIFrameWnd and it spawns different child windows of CMDIChildWnd object for different purposes. The child windows are created based on need such as 1. one for displaying messages 2. one for displaying monitored data 3. plotting graphs etc When the application is run, when we switch over all the views for some time, the application suddenly crashes. Why is this happening. Kindly help if anybody knows.

    _ S 2 Replies Last reply
    0
    • M manoharbalu

      I'm working on a project in which the parent frame is CMDIFrameWnd and it spawns different child windows of CMDIChildWnd object for different purposes. The child windows are created based on need such as 1. one for displaying messages 2. one for displaying monitored data 3. plotting graphs etc When the application is run, when we switch over all the views for some time, the application suddenly crashes. Why is this happening. Kindly help if anybody knows.

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #2

      It will be very hard to be deterministic and answer your query with the amount of information you provide. Did you try and debug to find the point of crash?

      You talk about Being HUMAN. I have it in my name AnsHUMAN

      S 1 Reply Last reply
      0
      • M manoharbalu

        I'm working on a project in which the parent frame is CMDIFrameWnd and it spawns different child windows of CMDIChildWnd object for different purposes. The child windows are created based on need such as 1. one for displaying messages 2. one for displaying monitored data 3. plotting graphs etc When the application is run, when we switch over all the views for some time, the application suddenly crashes. Why is this happening. Kindly help if anybody knows.

        S Offline
        S Offline
        ShilpiP
        wrote on last edited by
        #3

        use _CrtDumpMemoryLeaks[^] One more is ->Visual Leak Detector - Enhanced Memory Leak Detection for Visual C++[^]

        "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN) "Your thoughts are the architects of your destiny."

        1 Reply Last reply
        0
        • _ _AnsHUMAN_

          It will be very hard to be deterministic and answer your query with the amount of information you provide. Did you try and debug to find the point of crash?

          You talk about Being HUMAN. I have it in my name AnsHUMAN

          S Offline
          S Offline
          Stefan_Lang
          wrote on last edited by
          #4

          When I see these kind of questions I always think some people watch too many movies or TV - see Does Not Compute: 10 PC Myths from Movies and Television. In the movies, experts keep fixing problems with a lot less information available to them! ;)

          _ 1 Reply Last reply
          0
          • S Stefan_Lang

            When I see these kind of questions I always think some people watch too many movies or TV - see Does Not Compute: 10 PC Myths from Movies and Television. In the movies, experts keep fixing problems with a lot less information available to them! ;)

            _ Offline
            _ Offline
            _AnsHUMAN_
            wrote on last edited by
            #5

            Stefan_Lang wrote:

            In the movies, experts keep fixing problems with a lot less information available to them! ;)

            TRUE. But then these questions should also find the answers in the movies itself. :)

            You talk about Being HUMAN. I have it in my name AnsHUMAN

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups