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. Access violation, break in CFixedAlloc::Alloc()

Access violation, break in CFixedAlloc::Alloc()

Scheduled Pinned Locked Moved C / C++ / MFC
c++debugginglounge
1 Posts 1 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
    Maverick
    wrote on last edited by
    #1

    Can you give me some general information on CFixedALlocNosync::Alloc() function or the whole class. Its really urgent. don't know wat to do anymore. I have an MDI application, Doc/View Style.. and then i have 2 additional Frame/Views attached on a ControlBar and those Views are views for the Document... So I have 1 Doc-3 Views.. When originall when the application is Opened by default, opening a New Document, the program works fine.. Now, when i launch the application with no New Document created, and then I open a document, an Access Violation occurs.. and debugger breaks on the code of CFixedAllocNoSync::Alloc() function.. On the callstack, I noticed that this Alloc() function was called by one of the control bars CControlBar::PreTranslateMessage().. I don't know what to adjust or what to change because this is internal to MFC already..

    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