// // Throw a com_error object. In a separate file so users can easily define // their own to replace this one. // #include #pragma hdrstop #pragma warning(disable:4290) void __stdcall _com_raise_error(HRESULT hr, IErrorInfo* perrinfo) throw(_com_error) { throw _com_error(hr, perrinfo); }