没有 : MFC ATL 我如何使用FormatMessage()获取HRESULT的错误文本? HRESULT hresult = application.CreateInstance("Excel.Application"); if (FAILED(hresult)) { // what should i put here to obtain a human-readable // description of the error? exit (hresult); }