com-interop
Can I have two classes implement the same interface in COM?
My classes are as follows [ComVisible(True)][GUID(...)] public interface IMyComInterface { void DoThis(string[] params);[详细]
2023-04-05 07:17 分类:问答How do I add a reference to many different versions of Outlook's COM object?
With r开发者_JAVA百科egard to this question, how do I make VS2010 call the Outlook COM object regardless of DLL version?[详细]
2023-04-02 08:45 分类:问答Activator.CreateInstance(<guid>) works inside VSIDE but not externally
I have a bunch of COM objects which all implement the same interface, and need to create one of them as chosen at runtime from a list of options. Since I know the CLSID for each of the implementing CO[详细]
2023-04-01 22:13 分类:问答Is there any equivalent to AtlAdvise in c#?
I have several COM projects that I\'m working with, some in C++, some in CPP/CLI, and some in C#.I have source and sink interfaces that I\'ve implemented in c# and exported with tlbexp that I want to[详细]
2023-04-01 21:58 分类:问答Com DLL Gives Exception .NET 4 only
A COM DLL works in .NET 3.5 SP1, but gives exception in .NET 4.0 The full error is Retrieving the COM class factory for component with CLSID {B229C879-1B52-4DE9-A42B-75C415EA1EBC} failed due to th[详细]
2023-03-31 15:00 分类:问答Alternatives to optional (VB) parameters in C#?
I have been told that there is no such thing as optional parameters in C#. But you can use overload functionality and input varibles with default values such as:[详细]
2023-03-30 00:10 分类:问答Problem with calling a managed DLL from VB 6 code
I have ported VB6 code to VB.Net using the Visual Studio 2008 conversion wizard. The ported code compiles correctly.[详细]
2023-03-29 14:11 分类:问答Turn a simple C# DLL into a COM interop component
How do I ma开发者_如何学Pythonke a C# DLL into a COM interop DLL that can be consumed by a VB6 application?This is the answer I wanted to find in StackOverflow but couldn\'t. It turns out to be fairly[详细]
2023-03-29 04:52 分类:问答My first COM import
I have a .h file with the following declarations: ////////////////////////////////////////////////////////////////////////////////[详细]
2023-03-29 04:01 分类:问答Update C++ COM object to C#
We have a COM interface declared and implemented in unmanaged C++. We no longer wish to maintain this assembly, but do need to make some changes, and still be backward compatible.[详细]
2023-03-28 05:29 分类:问答