It is almost all written in Win32 API. I only see MFC
CString
and
CFile
.
Windows API works with LPCSTR and LPCTR instead of CString, but this is for non-Unicode version. For Unicode version, use LPCWSTR and LPWSTR. The declarations LPCTSTR and LPTSTR are used as generic ones, depending on compilation — as Unicode or not.
See this CodeProject article for more information:
What are TCHAR, WCHAR, LPSTR, LPWSTR, LPCTSTR etc?[
^].
Instead of
CFile
, HFILE handle should be used with functions like
OpenFile
,
<code>
CreateFile, etc.,
http://msdn.microsoft.com/en-us/library/aa364232(v=vs.85).aspx[
^].
—SA