I got an Assert failure and program exit. I debug it and find that the error message points to a
IsBadReadPtr(myClassobj , sizeof(*myClassobj)
(myClassObj is a pointer to an object)
I have no clue how it happens, can anyone tell me the reason for this error?