There were reinterprit_cast in the code.
The code was working when it was developed by Visual Studio 2008.
But I changed to Visual Studio 2010, the code make access violations at delete the pointer and its memory.
The class was derived from 2 classes.
I am not sure if it were related on this issue.
I inspected the address of the pointer.
The pointer address was shift 2 byte from first pointed address at deletion.
I changed from reinterprit_cast to Simple Cast.
After that, access violations were blowed out.
Strange...
0 件のコメント:
コメントを投稿