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. Hotkeys working in Debug build but not working in Release build

Hotkeys working in Debug build but not working in Release build

Scheduled Pinned Locked Moved C / C++ / MFC
debuggingperformancehelpquestionannouncement
4 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.
  • P Offline
    P Offline
    PravinSingh
    wrote on last edited by
    #1

    I'm using some hotkeys (which are there in the accelerator table). The hotkeys are working fine when I build and run the exe in Debug mode, but If I try the Release exe, the application just crashes by by giving a runtime error and saying that 'The instruction at"0x77de6439" referenced memory at "0x0036ad38". The memory could not be "read".' Is it that I need to do something special to make the accelerator table available to the Release exe? or something else which I may have missed?

    V M 2 Replies Last reply
    0
    • P PravinSingh

      I'm using some hotkeys (which are there in the accelerator table). The hotkeys are working fine when I build and run the exe in Debug mode, but If I try the Release exe, the application just crashes by by giving a runtime error and saying that 'The instruction at"0x77de6439" referenced memory at "0x0036ad38". The memory could not be "read".' Is it that I need to do something special to make the accelerator table available to the Release exe? or something else which I may have missed?

      V Offline
      V Offline
      V 0
      wrote on last edited by
      #2

      Have you done a complete rebuild? It's the only think I can think of. "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix

      P 1 Reply Last reply
      0
      • V V 0

        Have you done a complete rebuild? It's the only think I can think of. "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix

        P Offline
        P Offline
        PravinSingh
        wrote on last edited by
        #3

        Yes, I've done the complete rebuild many times and still getting the same error. Thanx, anyway, for your time.

        1 Reply Last reply
        0
        • P PravinSingh

          I'm using some hotkeys (which are there in the accelerator table). The hotkeys are working fine when I build and run the exe in Debug mode, but If I try the Release exe, the application just crashes by by giving a runtime error and saying that 'The instruction at"0x77de6439" referenced memory at "0x0036ad38". The memory could not be "read".' Is it that I need to do something special to make the accelerator table available to the Release exe? or something else which I may have missed?

          M Offline
          M Offline
          Mike Dimmick
          wrote on last edited by
          #4

          Surviving the Release Version[^] Stability. What an interesting concept. -- Chris Maunder

          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