_stprintf(buffer, _T("unknown COM Exception: 0x%08X"), _hr);
_stprintf(buffer, TEXT("unknown COM Exception: 0x%08X"), _hr);
	LPCTSTR ErrorMessage() const	{		if (_msg.empty()) {			LPTSTR pBuf;			if (FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER|FORMAT_MESSAGE_FROM_SYSTEM,				0, _hr, MAKELANGID(LANG_NEUTRAL,SUBLANG_DEFAULT), (LPTSTR)&pBuf, 0, NULL)) {				_msg = pBuf;				LocalFree(pBuf);			 } else {				TCHAR buffer[128];				_stprintf(buffer, _T("unknown COM Exception: 0x%08X"), _hr);				_msg = buffer;			 }		}		return _msg;	}