High Quality Content by WIKIPEDIA articles! IDispatch is the interface that exposes the OLE Automation protocol. It is one of the standard interfaces that can be exposed by COM objects. The I in IDispatch refers to interface. COM distinguishes between three interface types: custom, dispatch and dual interfaces. IDispatch derives from IUnknown and extends its set of three methods (AddRef, Release and QueryInterface) with an additional four methods – GetTypeInfoCount, GetTypeInfo, GetIDsOfNames...
High Quality Content by WIKIPEDIA articles! IDispatch is the interface that exposes the OLE Automation protocol. It is one of the standard interfaces that can be exposed by COM objects. The I in IDispatch refers to interface. COM distinguishes between three interface types: custom, dispatch and dual interfaces. IDispatch derives from IUnknown and extends its set of three methods (AddRef, Release and QueryInterface) with an additional four methods – GetTypeInfoCount, GetTypeInfo, GetIDsOfNames and Invoke. The Automation (IDispatch) interface allows a client application to find out what properties and methods are supported by an object at run-time. It also provides the information necessary to invoke these properties and methods. Client applications do not need to be aware of the object members when they are compiled. This allows COM and ActiveX objects to be called by scripting programs platforms such as the ASP server and JavaScript on Internet Explorer, where calling conventions were not known at the time IIS or IE were built.
Данное издание не является оригинальным. Книга печатается по технологии принт-он-деманд после получения заказа.
Оставить комментарий