(Make sure ReadFile returns TRUE)
So what does szUnicode contain?
Did you write the sting to the file yourself (from your program)? If the file/content was created with an editor, you should make you saved the file without BOM bytes.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Thread: problem with unicode and filesThreaded View
|
Click Here to Expand Forum to Full Width |