>> ... and the appropriate _T("") macro is used throughout CTokW
That is not appropriate. You use L"" for wide, "" for narrow.

_T is for use with with TCHAR's - which I highly discourage.

gg