Hello everybody

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!