I thought the crash may have been the result of a pointer pointing to the wrong object (not having the members he tried to call.) or a dangling pointer. In both cases the dynamic_cast would have returned a null pointer. Thus he could have avoided the crashes. But in his case, the object was deleted from outside while he tried to access it, so it wouldn't have helped him to use a dynamic_cast.Are you advising him to patch his code?
Bookmarks