YC Yc.W home Systems · C++ · AI Infrastructure
Systems · Note

Windows API-_com_error

Explore all Systems notes →

July 9, 2020 9:06 PM _com_error 类

try
{
	....
}
catch (_com_error &e)
{
	CString erromessage;
	erromessage = e.ErrorMessage();
	AfxMessageBox(erromessage); 
	//return S_FALSE;
}

← Previous pThreads + TCP Client

Next → C++-CLSID