发明名称 Event handling for unmanaged code
摘要 Many computer applications involve event driven programming. Unfortunately, it may be burdensome on application developers to develop event handlers in unmanaged code for all relevant events within their computer application. For example, when using COM objects in connection with event handling, the burden of lifetime management may be placed on the application developer. Accordingly, one or more systems and/or techniques for event handling in unmanaged code are disclosed herein. A delegate comprising a first interface and a second interface is provided. The delegate may receive event data from a software platform connected to the first interface and may notify a function of a process connected to the second interface. The delegate self destructs when both the computing platform and the process have released their connections to the respective interfaces, thus mitigating manual coding of lifetime management functionality within the process.
申请公布号 US8726237(B2) 申请公布日期 2014.05.13
申请号 US20090607861 申请日期 2009.10.28
申请人 VAN NESS SHAWN;KWIATKOWSKI PAUL;DANG NIKHIL;LOVELL MARTYN;CONSTABLE BENJAMIN;HENDERSON GARY;MICROSOFT CORPORATION 发明人 VAN NESS SHAWN;KWIATKOWSKI PAUL;DANG NIKHIL;LOVELL MARTYN;CONSTABLE BENJAMIN;HENDERSON GARY
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址