com-interop
Single instance of a C# library across different processes
I have created a C# .Net WinForms project which uses few libraries which are also created by me. Now I am creating a COM wrapper and want to use the same libraries from an Excel file through VBA. But[详细]
2023-03-27 05:01 分类:问答How to manage COM objects runtime in RAII style in C# programs?
My C# program uses a COM component that has a ton of various interfaces and subobjects. The problem is each time I retrieve some COM interface an RCW is created and that RCW exists for unknown time (u[详细]
2023-03-26 22:37 分类:问答Printing with Silverlight and com-interop
I\'m trying to print from silverlight without a print dialog and for that I\'m using System.Runtime.InteropServices.Automation;[详细]
2023-03-26 12:49 分类:问答Howto read Range.Top in Excel interop
Range in the Excel Interop library has Left and Top properties. These are of type Object as stated on MSDN. Trying to cast the result to float gives an error.[详细]
2023-03-25 04:02 分类:问答FileNotFoundException when using an Interop assembly (even if the file exists)
I am trying to automate actions against some in house ActiveX browser control. I added a reference to the COM type in my C# code, which automagically generates the Interop.AssemblyName.dll[详细]
2023-03-24 20:42 分类:问答x86 with COM Interop Compiled on x64
I have a small application that I wrote that imports both the iTunes and MediaMonkey COM interfaces.The app is developed and built on my laptop with is x64 but 开发者_高级运维run on my media PC which[详细]
2023-03-24 14:57 分类:问答COM Interop, client not finding interface in Out-of-process COM
I\'m using Microsoft\'s CSExeCOMServer as a base for setting up a Out-of-process COM server, but it\'s not working properly. The server is 64 bit, and the client is 32 bit.[详细]
2023-03-24 13:27 分类:问答Can I make a function COM Only? (Opposite of <Runtime.InteropServices.ComVisible(False)> )
I have some functions in my VB.NET DLL which I can \'hide\' from my VB6 app by using the following: <Runtime.InteropServices.ComVisible(False)> _[详细]
2023-03-23 18:52 分类:问答Register Com-Interop for .net windows service
Is it possible to reg开发者_运维技巧ister a vb.net Service for com-interop?The answer is no (the clue to this is the fact that the \'Register for COM Interop\' checkbox is greyed out on a windows serv[详细]
2023-03-23 10:53 分类:问答Unhandled Exceptions in C# Class Library for Logging Purposes
I am new to software development and also new to stackoverflow, so go easy on me. BACKGROUND: I am developing a C# class library that processes xml messages sent by a third party application over tcp[详细]
2023-03-23 03:27 分类:问答