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
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
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
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
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
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.
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.
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?
I am trying to call a vb dll (com) from C# using the following code: Type t = Type.GetTypeFromProgID(\"DLLName\",true);
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