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. CEdit Box Error

CEdit Box Error

Scheduled Pinned Locked Moved C / C++ / MFC
debugginghelp
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.
  • R Offline
    R Offline
    raju_shiva
    wrote on last edited by
    #1

    Hi all, I am trying to add Edit Box on my dialog application. I am creating a variable name as CString m_strEdit; through ClassWizard->Member variables but when i run the application some junk value is coming on editbox and when i close the application(i.e end all the dialogs) I am getting error. Can someone tell me,whats going on wrong The debug error is shown below

    Debug Assertion Failed!

    File:dbgheap.c

    Expresion:_CtrlIsValidHeapPointer(pUserData)

    Thanks Raj

    L 1 Reply Last reply
    0
    • R raju_shiva

      Hi all, I am trying to add Edit Box on my dialog application. I am creating a variable name as CString m_strEdit; through ClassWizard->Member variables but when i run the application some junk value is coming on editbox and when i close the application(i.e end all the dialogs) I am getting error. Can someone tell me,whats going on wrong The debug error is shown below

      Debug Assertion Failed!

      File:dbgheap.c

      Expresion:_CtrlIsValidHeapPointer(pUserData)

      Thanks Raj

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Have you initialised m_strEdit with any valid content before you show the dialog? As to the Debug Assertion, you should try setting some breakpoints in your application and check the call stack to see where in your application the failure is likely to be.

      I must get a clever new signature for 2011.

      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