2014-09-12 17:47 GMT+08:00 Huw Davies <huw@codeweavers.com>:
>
> >     txtRge->ref = 1;
> >     IRichEditOle_AddRef(reOle);

I feel little perplexed here. We want ITextRange::XXX returns CO_E_RELEASED 
when reOle and txtDoc were released. So we don't need AddRef(reOle) here?
And then we can just pass a RichEditOleImpl into CreateITextRange().

Thanks.
--
Regards,
Jactry Zeng