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. First chance exception

First chance exception

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

    I know this is not a serious warning, if you could even call it that, but it's annoying. First-chance exception at ... Access violation reading location ... Is there any way to find the cause and make the thing go away so that I can have my output window filled with something useful?

    Waldermort

    M 1 Reply Last reply
    0
    • W Waldermort

      I know this is not a serious warning, if you could even call it that, but it's annoying. First-chance exception at ... Access violation reading location ... Is there any way to find the cause and make the thing go away so that I can have my output window filled with something useful?

      Waldermort

      M Offline
      M Offline
      Matthew Faithfull
      wrote on last edited by
      #2

      It may indeed indicate a serious problem. To find out what's causing it (VS 2005) tick the check box under Debug->Exceptions, Win32 Exceptions for c0000005 Access violation in the Break when Thrown column. Run your code and see where the exeception is being raised.

      Nothing is exactly what it seems but everything with seems can be unpicked.

      W 1 Reply Last reply
      0
      • M Matthew Faithfull

        It may indeed indicate a serious problem. To find out what's causing it (VS 2005) tick the check box under Debug->Exceptions, Win32 Exceptions for c0000005 Access violation in the Break when Thrown column. Run your code and see where the exeception is being raised.

        Nothing is exactly what it seems but everything with seems can be unpicked.

        W Offline
        W Offline
        Waldermort
        wrote on last edited by
        #3

        Thanks for that. The exceptions are being thrown as a result of using the TreeView_xxx set of macros, using SendMessage instead seems to resolve the problem. Wonder why this is happening? Time to do some googling...

        Waldermort

        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