but when I execute the wrapper class it always got an error in this section
Code: Select all
// #pragma unmanaged zone
btSequentialImpulseConstraintSolver* solver = new btSequentialImpulseConstraintSolver;
Code: Select all
Debug Assertion Failed;
Program...
File: f\dd\vctools\crt_bld\self_x86\crt\src\dbgheap.c
Line: 1511
Expression: _CtrIsValidHeapPointer(pUserData)
For information on how your program can cause an assertion
failure, see the visual C++ docuentation on asserts.
(press retry to debug the application)
I'm compiling this code in visual studio 2008.
is there any way to solve this error?