Debug Assertion Failed
program:
File:dbgheap.c
Line 1044
Expression: _CrtIsValidHeapPointer(pVerData)
For information on how you program can cause an assertion failure. see the Visual C++
documentation on asserts不能发图 打的好累  这是不是断言的地方出了问题啊

解决方案 »

  1.   

    检查一下你的指针的值
    多注意以下你的class里面的member function是否使用正确(感觉上)
      

  2.   

    应为Expression: _CrtIsValidHeapPointer(pUserData)不好意思 这句话说明了什么问题吗pUserData不是我程序中定义的东西
      

  3.   

    Detected memory leaks!
    Dumping objects ->
    strcore.cpp(118) : {2848} normal block at 0x0034B310, 15 bytes long.
     Data: <            FF > 01 00 00 00 02 00 00 00 02 00 00 00 46 46 00 
    strcore.cpp(118) : {1079} normal block at 0x0034A920, 24 bytes long.
     Data: <            1355> 01 00 00 00 0B 00 00 00 0B 00 00 00 31 33 35 35 
    这段内容可以指出哪里的内存没有释放吗
      

  4.   

    你的指针变量没有初始化,要养成在声明指针的时候先置指针为NULL的习惯,否则在之后的代码中就不能用 if(point == NULL)的形式来判断是否已经初始化了。
      

  5.   

    strcore.cpp(118) : {2848} normal block at 0x0034B310, 15 bytes long.双击这一行, VC 会跳到最初分配内存的地方