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. Problem with release build.

Problem with release build.

Scheduled Pinned Locked Moved C / C++ / MFC
data-structuresdebugginghelpquestionannouncement
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.
  • V Offline
    V Offline
    VCSharp007
    wrote on last edited by
    #1

    Hi all, I had created customised tree control class derived from CTreeCtrl . I had written a handler to WM_RBUTTONDOWN message in that class. The problem is in release mode this handler nerver get executed but in debug mode it works fine. What may be the problem? Thanx in advance.

    T J 2 Replies Last reply
    0
    • V VCSharp007

      Hi all, I had created customised tree control class derived from CTreeCtrl . I had written a handler to WM_RBUTTONDOWN message in that class. The problem is in release mode this handler nerver get executed but in debug mode it works fine. What may be the problem? Thanx in advance.

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

      VCSharp007 wrote:

      The problem is in release mode this handler nerver get executed but in debug mode it works fine.

      http://www.codeproject.com/debug/survivereleasever.asp[^]

      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

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

      1 Reply Last reply
      0
      • V VCSharp007

        Hi all, I had created customised tree control class derived from CTreeCtrl . I had written a handler to WM_RBUTTONDOWN message in that class. The problem is in release mode this handler nerver get executed but in debug mode it works fine. What may be the problem? Thanx in advance.

        J Offline
        J Offline
        James R Twine
        wrote on last edited by
        #3

        Double-check to see that the handler has the correct signature (return type, calling convention and parameters).    Peace!

        -=- James


        If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
        Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
        DeleteFXPFiles & CheckFavorites (Please rate this post!)

        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