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. Command Invoked by Shortcut not Crashing But by invoking Menu, it is crashing in MFC

Command Invoked by Shortcut not Crashing But by invoking Menu, it is crashing in MFC

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
8 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.
  • 0 Offline
    0 Offline
    002comp
    wrote on last edited by
    #1

    Hello Friends Application is Compiled on VS2010 in WinXp and it is crashing on Win8 when ivoked by Menu not crashing by shortcuts. Isn't issue with running application on 64 bit Machine ? Reagrds Y

    S L 2 Replies Last reply
    0
    • 0 002comp

      Hello Friends Application is Compiled on VS2010 in WinXp and it is crashing on Win8 when ivoked by Menu not crashing by shortcuts. Isn't issue with running application on 64 bit Machine ? Reagrds Y

      S Offline
      S Offline
      SoMad
      wrote on last edited by
      #2

      You are not really providing us with enough information here and I am not sure I understand the difference between launching the application from a menu versus from a shortcut. However, I think it could be because the shortcut is setting the applications startup folder to be the installation folder, whereas that is not being done when it is launched from the menu. Soren Madsen

      "When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

      1 Reply Last reply
      0
      • 0 002comp

        Hello Friends Application is Compiled on VS2010 in WinXp and it is crashing on Win8 when ivoked by Menu not crashing by shortcuts. Isn't issue with running application on 64 bit Machine ? Reagrds Y

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        You will need to provide a lot more information than the above if you want some assistance. Try getting some debug information and show the failing code.

        Use the best guess

        0 1 Reply Last reply
        0
        • L Lost User

          You will need to provide a lot more information than the above if you want some assistance. Try getting some debug information and show the failing code.

          Use the best guess

          0 Offline
          0 Offline
          002comp
          wrote on last edited by
          #4

          I am opening a simple Dialog on Menu->SubMenu And also using keyboard Shotcut too. But, When I Click on Ok of that Dialog ,it completes its execution and then go to Dissembly. But If I do same process using Keyboard shortcut then everything is fine.

          S L 2 Replies Last reply
          0
          • 0 002comp

            I am opening a simple Dialog on Menu->SubMenu And also using keyboard Shotcut too. But, When I Click on Ok of that Dialog ,it completes its execution and then go to Dissembly. But If I do same process using Keyboard shortcut then everything is fine.

            S Offline
            S Offline
            SoMad
            wrote on last edited by
            #5

            I see that I guessed completely wrong when I thought I understood what you were saying. You can disregard my answer as it obviously has nothing to do with that. Soren Madsen

            "When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty

            1 Reply Last reply
            0
            • 0 002comp

              I am opening a simple Dialog on Menu->SubMenu And also using keyboard Shotcut too. But, When I Click on Ok of that Dialog ,it completes its execution and then go to Dissembly. But If I do same process using Keyboard shortcut then everything is fine.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              You really should know by now that we cannot guess what is happening in your cpode, nor can we see your screen. Please edit your question and provide some proper technical information.

              Use the best guess

              0 1 Reply Last reply
              0
              • L Lost User

                You really should know by now that we cannot guess what is happening in your cpode, nor can we see your screen. Please edit your question and provide some proper technical information.

                Use the best guess

                0 Offline
                0 Offline
                002comp
                wrote on last edited by
                #7

                This is the code http://www.epsitec.ch/download/mfccrash/mfccrash.zip[^] Regards Y

                L 1 Reply Last reply
                0
                • 0 002comp

                  This is the code http://www.epsitec.ch/download/mfccrash/mfccrash.zip[^] Regards Y

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  Sorry, but I don't think anyone is likely to be downloading that and doing your job for you.

                  Use the best guess

                  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