com-interop
Handling or Passing Errors From .NET Assembly to COM Client/Consumer
I\'m programming a C开发者_开发百科OM Interop .NET Assembly (a COM Callable Wrapper) and I\'m trying to understand what the correct way is to pass errors that occur in a .NET Assembly to the COM clien[详细]
2023-02-23 05:52 分类:问答Return object from C# to Silverlight via COM
I have made a C# COM Visible class that I can access via the dynamic com = AutomationFactory.CreateObject(\"MyCom\");[详细]
2023-02-22 21:57 分类:问答Howto author a scriptable collection in C#
I need to author a .NET assembly that is visible as a COM object through COM Interop, such that it can supply a collection to a VBScript or JScript program.[详细]
2023-02-22 20:59 分类:问答Replace native C++ COM .dll with .NET COM .dll
Our customer has old Win32 client开发者_运维知识库s that use a native C++ COM registered .dll that we provide.[详细]
2023-02-21 18:59 分类:问答Error Using An Object Array With .NET COM Interop DLL
I\'ve found a lot of other references to this error using Google but I\'m having trouble making sense out of how they apply to what I\'m doing.[详细]
2023-02-20 03:22 分类:问答How can tlbimp be used to specify different File and Assembly versions?
We are using tlbimp to generate interop assemblies.We would like to stamp the interop assemblies with both a File Version and an Assembly Version.However, the /asmversion option on tlbimp seems to be[详细]
2023-02-19 23:54 分类:问答Register .NET DLL for COM Interop in Visual Studio Setup and Deployment project
I\'m trying to register a dll for COM Interop and have the usual issue of it working on my dev machine but not our test server.I\'m attempting to do this in VS2008 using a Setup & Deployment proje[详细]
2023-02-19 22:59 分类:问答What's the problem with an interop class as a generic type parameter?
I have a generic base wrapper class to wrap a couple of com components we\'re using: public class WrapperBase<T> : IDisposable[详细]
2023-02-19 14:36 分类:问答How to get registration-free COM working in managed/unmanaged interop
I have a unmanaged C++/ATL in-process COM object (in Unmanaged.dll) that I\'m trying to use from a managed C# DLL (Managed.dll).However, I want I want to use registration free COM.I have it down to th[详细]
2023-02-19 11:50 分类:问答Read PinX, PinY ShapeSheet cell values from currently selected Shape: Visio, C# COM Interop
I am trying to set the PinX and PinY values for the currently selected shape in Visio on a keyboard sequence, e.g. [Ctrl]+[G].The purpose of this endeavor is to programmatically drop a shape onto the[详细]
2023-02-19 01:39 分类:问答