Is it possible to read text file of type ANSI and unicode using CStdioFile as shown a
Actually I converted my VC .net project from Use Multi-Byte Character Set to Use Unicode Character Set (i.e. Unicode support). Then lot of build errors fixed.
Before in my project, I’m reading the ANSI text file as below
CStdioFile l_oStdioFile;
CString l_strValue = _T("");
TCHAR l_chBuff[1024*10];
CFileException l_oFileEx;
CString m_strFileName = _T("C:\\Documents and Settings\\PHari\\Desktop\\ASAS.txt");
Bookmarks