Hi Iebraheem,
Thank you for your update.
The provided sample works correctly in extracting ole object (equation) from a word document (Docx format). Equation in Docx document also read as ole object and not as WTextRange. For your reference we have attached the sample to extract ole object (equation) from a word document (Docx format). Please do find the sample in the attachment.
Please let us know if you have any other questions.
Regards,
Gunasekaran
Sample_a047c991.zip