unicode + GetText

I

Imran

Hello all

I am trying to read the data from MSWORD file using office
automation. But when I have special character/symbol (line lambda) in the
word file, I am getting "?" in the string. please gimme some info .

here is the code

Words words = range.GetWords();
long number = words.GetCount();
for(long i= 1; i<=number;i++)
{
Range range = words.Item(i);
char* ptr1;
CString theString = range.GetText();

}

inside the theString I am getting "?" when I try to read the symbols.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top