adding tchar to handle _tcsnicmp