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. Unhandled exception at 0x7822119c (mfc80d.dll) in Audio.exe: 0xC0000005: Access violation reading location 0xcdcdcdd9

Unhandled exception at 0x7822119c (mfc80d.dll) in Audio.exe: 0xC0000005: Access violation reading location 0xcdcdcdd9

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorial
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.
  • M Offline
    M Offline
    Maynka
    wrote on last edited by
    #1

    Hi, i am repeatedly getting this error in afxcoll.inl file and the cursor is stopping at the above piece of code in the above file. AFXCOLL_INLINE INT_PTR CPtrArray::Add(void* newElement) { INT_PTR nIndex = m_nSize; SetAtGrow(nIndex, newElement); return nIndex; } Further in my .cpp file i am writing the following code when this error occurs: Collect->m_Tracks.GetAt(i)->fOrder->m_FilesArray.Add(objUnitFile); I am really at loss figuring out how to solve this error. Thanks and Regards

    W H 2 Replies Last reply
    0
    • M Maynka

      Hi, i am repeatedly getting this error in afxcoll.inl file and the cursor is stopping at the above piece of code in the above file. AFXCOLL_INLINE INT_PTR CPtrArray::Add(void* newElement) { INT_PTR nIndex = m_nSize; SetAtGrow(nIndex, newElement); return nIndex; } Further in my .cpp file i am writing the following code when this error occurs: Collect->m_Tracks.GetAt(i)->fOrder->m_FilesArray.Add(objUnitFile); I am really at loss figuring out how to solve this error. Thanks and Regards

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

      Then placea breakpoint on that line of code, look in your debug 'auto' window and check which one of those pointers is equal to 0xCDCDCDCD, then think to yourself, why isn't initialized?

      Waldermort

      1 Reply Last reply
      0
      • M Maynka

        Hi, i am repeatedly getting this error in afxcoll.inl file and the cursor is stopping at the above piece of code in the above file. AFXCOLL_INLINE INT_PTR CPtrArray::Add(void* newElement) { INT_PTR nIndex = m_nSize; SetAtGrow(nIndex, newElement); return nIndex; } Further in my .cpp file i am writing the following code when this error occurs: Collect->m_Tracks.GetAt(i)->fOrder->m_FilesArray.Add(objUnitFile); I am really at loss figuring out how to solve this error. Thanks and Regards

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        Does Collect is valid?

        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