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. User Breapoint called from code at 0x77f9180c !

User Breapoint called from code at 0x77f9180c !

Scheduled Pinned Locked Moved C / C++ / MFC
debugginghelpc++question
2 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
    white jungle
    wrote on last edited by
    #1

    Here is a error throw out when debug my program. I know this question was asked for many times! And I have search it and seen it. I use several method which I get from web . I select Edit==>Breakpoints And find none breakpoint there! And I ReSetup a new project with same name . copy all .h .cpp .rc files into the new project. but the error throwed out yet! I don't know why! each time when the error occured,it stoped at NTDLL! 77f9180c() there are a part of code as follow: m_pStillImage=new CxImage(); if(m_pStillImage==NULL) return false; if(!m_pStillImage->Load(strFilePathName,ExtType)) { return false; } ........//some operation if((m_TotalFrame=m_pStillImage->GetNumFrames())>1) { m_MoviePicDelay=m_pStillImage->GetFrameDelay(); m_pMovieImage=new CxImage[m_TotalFrame]; for(int i=0;idelete m_pStillImage; //when run to here ,the error occured //in fact,if I want to delete m_pStillImage //the error will throwed out m_pStillImage=NULL; } } anybody!please help me! :) Don't look at me in that way!

    T 1 Reply Last reply
    0
    • W white jungle

      Here is a error throw out when debug my program. I know this question was asked for many times! And I have search it and seen it. I use several method which I get from web . I select Edit==>Breakpoints And find none breakpoint there! And I ReSetup a new project with same name . copy all .h .cpp .rc files into the new project. but the error throwed out yet! I don't know why! each time when the error occured,it stoped at NTDLL! 77f9180c() there are a part of code as follow: m_pStillImage=new CxImage(); if(m_pStillImage==NULL) return false; if(!m_pStillImage->Load(strFilePathName,ExtType)) { return false; } ........//some operation if((m_TotalFrame=m_pStillImage->GetNumFrames())>1) { m_MoviePicDelay=m_pStillImage->GetFrameDelay(); m_pMovieImage=new CxImage[m_TotalFrame]; for(int i=0;idelete m_pStillImage; //when run to here ,the error occured //in fact,if I want to delete m_pStillImage //the error will throwed out m_pStillImage=NULL; } } anybody!please help me! :) Don't look at me in that way!

      T Offline
      T Offline
      Ted Ferenc
      wrote on last edited by
      #2

      Try:- 1. looking at the call stack when the error occurs 2. m_pStillImage->Destroy() before delete m_pStillImage 3. CxImage m_StillImage instead, if this fails then you probably have something like a memory overwrite, use of an invalid pointer etc. in some part of your code


      If I have seen further it is by standing on the shoulders of Giants. - Isaac Newton 1676

      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