Hi,
I havea a COM Addin for Outlook. Its supposed to work with Outlook 2k-2k3-2K7 and it does. We now are in a process to use new Ribbon UI (.NET based) for Outlook 2k7 and hence do not want the addin to load if we are running Outlook 2k7. I do not have much knowledge about addins, as I have recently started with this project, but what I know so far is that to keep the addin from loading, I should check the Outlook version in OnConnection and return an ERROR code, instead of success code. (http://support.microsoft.com/kb/302901) and the host application is supposed to "immediately releases its reference to the add-in, and the object is destroyed".
After I do this, the addin doesn't show up on toolbar and in COM-Addins dialog box it is shown un-checked as well, but unfortunately the DLL remains loaded in memory and is loaded by none other than OUTLOOK.exe.
Does anybody have any idea, what else I might need to do to release the the reference and have the DLL unloaded from memory? Am I missing something here?
Any help will be really appreciated.
Regards,