2009年6月6日

COM中的error handling机制及示例(ISupportEfforInfo,ICreateErrorInfo,IErrorInfo)

摘要: 客户端在调用DCOM/COM+时,无法通过try-catch这样的technology-specific的异常处理机制来处理COM Exception。而只能通过返回的HRESULT code来判断异常。为了弥补这种缺陷,COM有其自身的COM Exception propogation机制。 本文介绍了COM中的error handling机制介绍及简单示例。 阅读全文

posted @ 2009-06-06 16:11 飞天舞者 阅读(750) 评论(0) 推荐(0)

导航

For more information about me, feel free email to me winston.he@hotmail.com