idispatch
Invoke call on released COM object
I create a COM object used for automation tasks of some application. When this happens application is started and its\' main window is displayed.[详细]
2023-04-06 18:06 分类:问答C++ DispInvoke fails to find member
The scenario is this: I have a COM object to ask questions. Name it ICom. The COM object requires me to implement an IDispatch , descendant of , say, IComEvents, that notifies me for events.[详细]
2023-03-31 06:06 分类:问答Retrieve javascript array object with C++ using DISPID_NEWENUM fails on IE9
following a similar question i answered some time ago, i found out that when trying to enumerate the object, using IDispatch::Invoke(DISPID_NEWENUM,...) fails开发者_运维百科 with DISP_E_EXCEPTION on I[详细]
2023-03-17 10:49 分类:问答How does CreateStdDispatch know what method to invoke?
i\'m faced with implementing an IDispatch interface. There are four methods, and fortunately 3 of them are easy:[详细]
2023-03-15 18:59 分类:问答Visual Studio IDE Crash Using IDispatch.GetTypeInfo() for Excel.Application
I am writing an application to interface with COM components and I have run into a problem when working with the Excel.Application component while running my application in the Visual Studio 10 IDE. I[详细]
2023-03-06 20:16 分类:问答How can you get a prototype member function (C++ -> Javascript)
Does anyone know how you can call a method of a prototype in Javascript from C++? I have an pointer to script IDispatch, and I can get the IDsOfNames for the prototype, but I can\'t find how to get t[详细]
2023-02-11 05:40 分类:问答passing a struct to a IDispatch method
In a third party COM Module I have to pass a struct to a Method. The important parts of the IDL definition look like this:[详细]
2023-02-06 04:00 分类:问答How to send an event callback parameter to a COM object with .net
I have a referenced a COM dll. Some methods expect a callback parameter. I checked the interop.MyComLib.dll in reflector:[详细]
2023-02-06 01:16 分类:问答How to get a IHTMLElement pointer to the <object> tag hosting an activex control
I have an ActiveX control generated by the FireBreath framework (http://firebreath.org).I need to get a reference to the <object> tag in the page that hosts the plugin from C++.[详细]
2023-01-24 03:00 分类:问答Getting an access to member of IDispatch interface
I am a physicist. I am trying to work on Delphi with an imported activex control (ocx file). Let’s say there are 3 automation interfaces in the library: IGraph, IGraphAxes and IAxis. The structure of[详细]
2023-01-16 07:15 分类:问答