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)...
2
Solved
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...
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...
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...
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...
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...
1
© 2022 - 2024 — McMap. All rights reserved.