com-interop
COM->.NET - can't access overloaded method
I\'m trying to access a .Net library (The Image Resizer) from COM (jscript). I\'ve tried both IDispatch and class interface generation, as well as [ClassInterface( ClassInterfaceType.AutoDual)] on t[详细]
2023-03-06 06:40 分类:问答How to marshal Null objects from .NET to COM as an object type?
In the middle of a large project that is using COM interop while migrating from VB6 to .NET, I found the need to write code that receives an object from an interop method and then pass that object int[详细]
2023-03-06 06:34 分类:问答detect ContextDeadlockSwitch at runtime
A C# code retrieves a property value from a C++ dll and this retrieval blocks the current thread until the dll return开发者_StackOverflow中文版s the value. In debug mode, when the retrieval takes a lo[详细]
2023-03-06 02:33 分类:问答Error notification from COM event handler, using interop
I\'m consuming a com object in c#, using com-interop. I provide an event handler to the object, which it calls after doing its thing. Here\'s the problem. 开发者_高级运维I have some sanity-check code[详细]
2023-03-05 14:16 分类:问答How to clean up COM references in .NET when app will be left running?
I am working on a .NET program that starts a new instance of Excel, does some work, then ends, but must leave Excel running.Later, when the program runs again, it will attempt to hook into the previou[详细]
2023-03-04 19:29 分类:问答What happens between the .NET interop layer and COM?
I am using COM in my C# .NET project. However one of the methods I call is not acting as expected. So I am curious to see what is happening between my .NET code, the Interop layer and COM.[详细]
2023-03-03 17:25 分类:问答Creating a COM indexed property from C#?
I am trying to mimic an old vb6 dll with a new .net one. The mimicry has to be perfect so that that callers don\'t know they are using a new .dll.[详细]
2023-03-03 03:46 分类:问答Is it possible to debug a COM dll in VS2008?
This may be a very stupid question. Is it possible to debug a COM dll in VS2008 for which I do not have the source code?[详细]
2023-03-03 02:26 分类:问答Calling methods on VB DLL from C#
I am trying to call a vb dll (com) from C# using the following code: Type t = Type.GetTypeFromProgID(\"DLLName\",true);[详细]
2023-03-02 22:02 分类:问答"Attempted to read or write protected memory" error when accessing COM component from C#
I have an ASP.NET application which uses an old and now unsupported third party COM component. The Application runs reliably on windows serv开发者_开发技巧er 2003, but when I try to run it on 2008 r2[详细]
2023-03-02 12:43 分类:问答