I have a Delphi COM Add-in for Outlook (2000-2007) and am trying to find a way to register an event when an MailItem in Outlook is marked as read. I want to add an additional property to the item as/just after it is marked as read.
Does anyone have any idea how to do this using the Outlook Object Model? I am also using Add-In-Express ...
What tools are available for creating in process COM servers in Java?
...
Is it possible to call into COM objects via x86 assembly language? If so, how?
Why would I want to do this? Let's say I've got two programs that I don't have source for - all I've got are the binaries. One of them implements a COM interface, the other doesn't. I want to inject code into the first program to call into the second using th...
I put "better" in quotes because it's a qualitative question. I've been writing COM DLLs for a couple of years now and have only recently come upon, and successfully used, the standard DLL with Typelib concept.
Are there any compelling reasons to use COM DLLs instead of DLL+Typelib? Granted, you can't do DCOM with a DLL+Typelib, but is...
I am writing a compiler in F# and I want to be able to access the unmanaged metadata COM interfaces in the .net runtime. Before anybody mentions it, Reflection.Emit is not suitable for my purposes, nor do I want to use any other method than the metadata COM interfaces.
I've imported mscoree.tlb but it doesn't seem to include the interfa...
Is there any way of obtaining a list of registered COM interfaces on a windows machine, with GUIDs?
Before anybody thinks this isn't related to programming, I need this data in order to reference a COM interface in F# (or C#) for interfaces that tlbimp isn't exposing.
...
This is complicated, at least for me, so please bare with me. I'll also preface with I've spent a day searching, to no avail.
Due to company constraints out of my control, I have the following scenario:
A COM library that defines the following interface (no CoClass, just the interface):
[
object,
uuid(xxxxxxxx-xxxx-xxxx-xxxx-...
As the question states - is there a good tool out there which lists methods an unmanaged DLL exports? I would like it to list COM methods and interfaces too.
...
I am investigating automated testing of an old Win32 application that used ActiveX controls. I am spiking use White (from Thougthworks) that uses Microsoft UIAutomation. I can find the AutomationElement related to the control, but how do I interact with it?
Spy++ sees the grid control as a single window, so I can't talk to rows, column...
Hi, I have inherited a load of VB6 code which has tons of individual OCX files, each of which contain a single control. I have two questions:
Firstly, Is it possible to refactor them so that I can have a single OCX file with all the OCX's in it?
Secondly, if it is possible, how do I do this?
TIA
...
I am working with an existing code base made up of some COM interfaces written in C++ with a C# front end. There is some new functionality that needs to be added, so I'm having to modify the COM portions. In one particular case, I need to pass an array (allocated from C#) to the component to be filled.
What I would like to do is to be ...
In C# there is a method SetApartmentState in the class Thread.
How do I do the same thing in C++?
...
I am doing a BHO (extension for IE) that receives events on other thread. When I access the DOM from that other thread, IE crashes. Is it possible to make the DOM accessed from the same thread as the main BHO thread so that it does not crash?
It seems like a general COM multithreading problem, which I don't understand much.
...
We are in the process of documenting a newly minted API for our applications. The API has been written in C++ as a set of COM objects. We would like a tool that generates CHM documentation based on the comments attributed to each COM object method. I know of doxygen but don't really feel like the output is all that professional lookin...
I have a VB6 dll that is trying to create a COM object using the following line of code:
Set CreateObj = CreateObject("OPSValuer.OPSValue")
However this fails with the error "Object variable or With block variable not set".
I can see OPSValuer.OPSValue in dcomcnfg and it appears to be registered fine. Does anyone have any ideas about...
My InstallShield installer doesn't appear to register several of its COM DLLs correctly, even though I have refreshed the COM information for them in the installer. If I manually run regsvr32 after installation, everything is fine.
I notice that after installation, I have InprocServer32 values in the registry for my components containi...
I'm an application packager trying to make sense of how the COM registry keys (SelfReg) interrelate to the given .dll in Windows.
ProgID's, AppID's, TypeLibs, Extensions & Verbs are all tied around the CLSID right?
Do CLSID's always use Prog/App IDs or could you just have a file extension class?
Which bits are optional?
Some of it see...
Morning all,
Bit of a language theory question here... I've found some references online suggesting that exception handling and delegates in C# have some different behaviour in some cases but I cannot find any concrete documentation on the matter.
We recently had some big problems with exceptions inside delegates for a Microsoft Excel ...
Hi,
I'm working on a database project and I need to create Outlook 2007 plugin that saves the current previewed message into my database.
Can someone give me a step-by-step guide on how to create an Outlook plugin in Delphi, and how to deploy it?
Thanks
...
I have had a bug recently that only manifested itself when the library was built as a release build rather than a debug build. The library is a .NET dll with a COM wrapper and I am using CoCreateInstance to create a class from the dll in an unmanaged c++ app. When I finally tracked the bug down it was caused by accessing a singleton ob...