<div dir="ltr"><div class="gmail_extra"><br>2014-09-12 4:43 GMT+08:00 Sebastian Lackner <<a href="mailto:sebastian@fds-team.de">sebastian@fds-team.de</a>>:<br>><br>><br>> Are you sure? Doesn't this test below show exactly the opposite? It seems to be safe<br>> to release the ITextDocument, and afterwards call an ITextRange function - it will just<br>> return CO_E_RELEASED since the parent object was already released. Or am I misunderstanding<br>> this code?<br><br>So sorry, I made a mistake yesterday here. I added more a ITextRange::Release before the ITextRange calling</div><div class="gmail_extra">in my new tests code yesterday.</div><div class="gmail_extra">Functions of ITextRange will return CO_E_RELEASED after reOle/txtDoc were released and will</div><div class="gmail_extra">crash after the ITextRange was released.</div><div class="gmail_extra"><br clear="all"><div>Thank you! <br></div>-- <br><div dir="ltr"><div>Regards,<br></div><div>Jactry Zeng</div><div><br></div></div>
</div></div>