Windows API-_com_error

Windows API-_com_error

July 9, 2020 9:06 PM
_com_error 类

try
{
	....
}
catch (_com_error &e)
{
	CString erromessage;
	erromessage = e.ErrorMessage();
	AfxMessageBox(erromessage); 
	//return S_FALSE;
}
posted @ 2020-07-09 21:07  Theseus‘Ship  阅读(140)  评论(0编辑  收藏  举报
Live2D