COM
How to access COM objects from different apartment models?
I have a multi-threaded C++Builder GUI app, which communicates with a third-party app via COM. I need to call methods of the COM object from several threads, and I\'m protecting access witha mutex. A[详细]
2023-04-12 13:35 分类:问答Exposing a C# COM interface via a C# Windows Service
I\'m looking to tie up a legacy app with a newer C# component which runs as a Windows service. The legacy app uses COM to call out to retrieve some diagnostics data from an interface we have in other[详细]
2023-04-12 12:27 分类:问答Want to use COM dll file on deployed machines without registering dll files
I will make this very simple, as it can get quite confusing very quickly. I have a COM dll (made in VB6) tha开发者_开发技巧t I would like to be able to use through my C# application. Below are the ste[详细]
2023-04-12 07:31 分类:问答How and which technology (.NET-WinForms,C++-MIDI MFC based) is the best to use for reading and writing COM Port data?
I need to solve a problem for reading and writing COM Port data from MIDI application. 1)The software must be able to handle multiple MIDI In and MIDI Out ports simultaneously sending and receiving M[详细]
2023-04-12 04:56 分类:问答IContextMenu::QueryContextMenu being called, but IContextMenu::InvokeCommand doesn't
In my implementation of IContextMenu COM server, the QueryContextMenu gets called (can see it with logging) but InvokeCommand doesn\'t. Here is the QueryContextMenu:开发者_开发问答[详细]
2023-04-12 03:26 分类:问答Is there any way to fix the order of COM struct members when importing to C#?
I defined a struct in .idl file of C++ project, and the struct contained one VARIANT member. [uuid(C42A456C-C139-4339-A023-F9458C8A7386)][详细]
2023-04-11 17:37 分类:问答Python String to BSTR
I am Using the iTunes COM interface on windows 7. The method iTunes.CurrentTrack.AddArtworkFromFile(path) requires path to be of type BSTR.[详细]
2023-04-11 17:31 分类:问答Shell extension doesn't work in Windows-Explorer but works in other programs?
I made shell extension (implementing IContextMenu, IShellExtInit, IExtractIcon & IPersistFile) using ATL, \"by the book\".[详细]
2023-04-11 14:58 分类:问答How to find the members of a dynamically loaded com object
I am trying to use an OLE COM object that I don\'t have any documentation for. I load the com o开发者_运维问答bject dynamically by:[详细]
2023-04-11 13:53 分类:问答How to get the original IDocHostUIHandler provided by Internet Explorer?
In the documentation of the IDocHostUIHandler Interface, there is a paragraph about the default UI handler provided by IE when talking about a memory leak caused by using ICustomDoc from a BHO:[详细]
2023-04-11 13:10 分类:问答