Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ProgrammerJoe

  1. ProgrammerJoe

    ReadString not reading Unicode text properly

    Thank you for your help. That function, combined with a wchar_t string did the trick. Here's the test code I wrote: HANDLE NewFile; wchar_t WCharBuffer[101]; DWORD ReadBytes; NewFile = CreateFile(_T("c:\\temp\\unicode.txt"), GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING...
  2. ProgrammerJoe

    ReadString not reading Unicode text properly

    I have a Unicode text file. (I can tell because the characters 0xFF and 0xFE are the first two characters in the file and looking at it in a binary editor, I can see that each character is followed by a null character). My problem is this: when I use ReadString, it takes each individual byte...

Part and Inventory Search

Back
Top