September 2nd, 2010, 03:23 AM
CFile write unicode text in wince
I'm trying to write some texts into html file using CFile::Write function. Below is what I'm using.
mFile.Write(myString,myString.GetLength() * sizeof(TCHAR));
As a result in the file however I get something like this:
0 1 : 2 2 : 0 6 . 0 0 T a e o t u i e o e
This should be written as:
01:22:06.00 Trace output file open
Any idea what the problem could be?
Thanks in advance!
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!