idispatch Questions

2

Solved

i'm faced with implementing an IDispatch interface. There are four methods, and fortunately 3 of them are easy: function TIEEventsSink.GetTypeInfoCount(...): HResult; { Result := E_NOTIMPL; } fu...
Bachelor asked 28/6, 2011 at 15:2

1

Solved

I'm using Invoke for late binding on a legacy COM objects that supports IDispatch. This seems necessary as .NET's Type.GetMethod Type.InvokeMember do not seem to work on these objects. The followi...
Taliped asked 2/8, 2010 at 8:49

0

I applied Invoke to use object of an application in C++ but an error occurred. error:information not available, No symbols loaded for GPNSAutomation.dll My codes is : ::CLSIDFromProgID(OLESTR("SG...
Spatz asked 14/4, 2018 at 17:19

1

I am implementing a c# COM client against a C++ COM server. The COM client functions correctly when I mark the COM interface as "Dual" but it throws an InvalidCastException when I remove the "Dual"...
Underwriter asked 10/9, 2013 at 22:2

3

I tried looking around but was not able to convince myself with an answer as the world of COM/ActiveX seems to be very confusing. Basically what I want to know is, given the GUID, is there a way to...
Oodles asked 19/1, 2013 at 5:2

2

I'm trying to write a bit of code (just for home use) that uses UPnP for NAT traversal, using C# 4 and Microsoft's COM-based NAT traversal API (Hnetcfg.dll). Unfortunately (or perhaps fortunately)...
Berny asked 6/11, 2012 at 8:49

2

Solved

I use WM_COPYDATA to enable communication between my two processes A and B. There is no problem to exchange data with basic data types. Now I have a problem, in some case I want to pass an Interf...
Laoag asked 8/4, 2012 at 5:3

2

Solved

I'm writing some test code to emulate unmanaged code calling my c# implementation of a late binding COM object. I have an interface that is declared as an IDispatch type as below. [Guid("2D570F1...
Expeditious asked 9/11, 2011 at 18:1

6

Solved

The Question My question is: Does C# nativly support late-binding IDispatch? Pretend i'm trying to automate Office, while being compatible with whatever version the customer has installed. ...
Shontashoo asked 31/12, 2008 at 15:33

2

Every time I build my C# Solution, I get a handful of warnings about interfaces that I've never seen or written. I tried Googling for some of them, but get no hits. Could these possibly be buried i...
Musselman asked 17/6, 2010 at 13:57

3

A dual interface in COM is one that is able to be accessed via a DispInterface or via VTable methods. Now can someone tell me what is exactly what the difference is between the two methods? I tho...
Complect asked 14/5, 2010 at 17:42

3

Solved

I need to compile some code of mine using the gcc compiler included in the R tools (R the statistical program for windows), the problem is that I need to use IDispatch in my code to create an acces...
Babylonia asked 3/6, 2009 at 17:42

3

Solved

I can't wrap my head around the differences among these terms. Are COM and ActiveX synonyms? Is ActiveX object just a COM object that exposes IDispatch? Lots of older MSDN pages mention IDispa...
Moa asked 4/5, 2009 at 15:36
1

© 2022 - 2024 — McMap. All rights reserved.