목록DLL (1)
no swim no life
Debug Assertion Failted! (_CrtlsValidHeapPointer(pUserData))
DLL 내부(B.dll)에서 선언한 메모리를 어플리케이션(A.exe)에서 해지하려 할 때 발생. 서로 다른 메모리 할당 규칙( Z != X )을 사용할 수 있는, A와 B 사이에 메모리 할당/해지가 발생했을 경우 Debug 모드라면 할당 규칙에 대한 검사 중 프로그램이 종료 될 것이다. (아래 코드) /* * If this ASSERT fails, a bad pointer has been passed in. It may be * totally bogus, or it may have been allocated from another heap. * The pointer MUST come from the 'local' heap. */ _ASSERTE(_CrtIsValidHeapPointer(pUserData)..
work/error
2009. 6. 12. 05:38