_CrtIsValidHeapPointer(pUserData)
场景:Expression: _CrtIsValidHeapPointer(pUserData)异常
Expression: _CrtIsValidHeapPointer(pUserData)错误
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!
Program: i:\vc++\vins\debug\vins.exe
File: dbgheap.c
Line: 1414
Expression: _CrtIsValidHeapPointer(pUserData)
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
---------------------------
终止(A) 重试(R) 忽略(I)
---------------------------
VS 2005下新建Windows窗体,在stdafx.h中
#include <afxwin.h>
#include <afxext.h>
#include <afxdisp.h>
项目-> 项目属性-> 配置属性-> MFC的使用已改为 "在共享 DLL 中使用 MFC "
公共语言运行库支持(/clr)已改为 "公共语言运行库支持(/clr) ".
编译运行就碰上这个错误请大大解救.
偶是新手,谢谢了!
------解决方案--------------------
编译选项中的重建全部选项
Expression: _CrtIsValidHeapPointer(pUserData)错误
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!
Program: i:\vc++\vins\debug\vins.exe
File: dbgheap.c
Line: 1414
Expression: _CrtIsValidHeapPointer(pUserData)
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
---------------------------
终止(A) 重试(R) 忽略(I)
---------------------------
VS 2005下新建Windows窗体,在stdafx.h中
#include <afxwin.h>
#include <afxext.h>
#include <afxdisp.h>
项目-> 项目属性-> 配置属性-> MFC的使用已改为 "在共享 DLL 中使用 MFC "
公共语言运行库支持(/clr)已改为 "公共语言运行库支持(/clr) ".
编译运行就碰上这个错误请大大解救.
偶是新手,谢谢了!
------解决方案--------------------
编译选项中的重建全部选项