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. Crash Window on Close [modified]

Crash Window on Close [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 Posts 3 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.
  • F Offline
    F Offline
    Fareed Rizkalla
    wrote on last edited by
    #1

    I get a crash on a Windows Message! Looked it up in WinUser.h and didn't find anything for it. This is the MSG number 274. As it appears when I press close on my Window, my program is receiving a WM_SYSCOMMAND. This is totally a new thing, I already have a WM_CLOSE. Can't understand what is triggering it.

    modified on Wednesday, July 21, 2010 9:04 PM

    _ T 2 Replies Last reply
    0
    • F Fareed Rizkalla

      I get a crash on a Windows Message! Looked it up in WinUser.h and didn't find anything for it. This is the MSG number 274. As it appears when I press close on my Window, my program is receiving a WM_SYSCOMMAND. This is totally a new thing, I already have a WM_CLOSE. Can't understand what is triggering it.

      modified on Wednesday, July 21, 2010 9:04 PM

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

      WM_CLOSE is not the last message that an application will receive. This is normal. But why is that causing a crash for you? Perhaps, you could debug after it crashes.

      «_Superman_»
      I love work. It gives me something to do between weekends.

      Microsoft MVP (Visual C++)

      Polymorphism in C

      1 Reply Last reply
      0
      • F Fareed Rizkalla

        I get a crash on a Windows Message! Looked it up in WinUser.h and didn't find anything for it. This is the MSG number 274. As it appears when I press close on my Window, my program is receiving a WM_SYSCOMMAND. This is totally a new thing, I already have a WM_CLOSE. Can't understand what is triggering it.

        modified on Wednesday, July 21, 2010 9:04 PM

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        kindly let us know,Is crash is appearing in Debug Mode or release mode!

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
        Never mind - my own stupidity is the source of every "problem" - Mixture

        cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

        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