O
Oliver Giesen
Hi all!
I have written a COM-Addin for Outlook utilizing the Redemption Objects
library. Basically everything is fine but when I load the add-in into
Outlook 2003 the outlook.exe never unloads from memory, even though by
placing debug output messages I could tell that my addin gets properly
unloaded and destroyed and all references it holds are released. In
some situations the hanging outlook.exe process eventually causes an
ugly error message upon exiting Windows (the "could not be closed"
thingy). Outlook 2000 and XP do not exhibit this behaviour.
I have already discovered the following FAQ concerning a similar issue
with Redemption:
http://www.dimastr.com/redemption/faq.htm#5
but I have already added Cleanup calls everywhere I make use of the
Redemption objects. Furthermore, the problem even appears if I do not
use any of them at all, e.g. if I just open and close Outlook without
activating any of my add-in's functionality. So, I'm pretty sure it
doesn't have anything to do with Redemption. There also are no dangling
IMAPISession references created by my own code.
By now I have pretty much no idea where else to look.
What else could be causing this?
P.S.: The add-in is written using Borland Delphi 7.
Cheers,
Oliver
I have written a COM-Addin for Outlook utilizing the Redemption Objects
library. Basically everything is fine but when I load the add-in into
Outlook 2003 the outlook.exe never unloads from memory, even though by
placing debug output messages I could tell that my addin gets properly
unloaded and destroyed and all references it holds are released. In
some situations the hanging outlook.exe process eventually causes an
ugly error message upon exiting Windows (the "could not be closed"
thingy). Outlook 2000 and XP do not exhibit this behaviour.
I have already discovered the following FAQ concerning a similar issue
with Redemption:
http://www.dimastr.com/redemption/faq.htm#5
but I have already added Cleanup calls everywhere I make use of the
Redemption objects. Furthermore, the problem even appears if I do not
use any of them at all, e.g. if I just open and close Outlook without
activating any of my add-in's functionality. So, I'm pretty sure it
doesn't have anything to do with Redemption. There also are no dangling
IMAPISession references created by my own code.
By now I have pretty much no idea where else to look.
What else could be causing this?
P.S.: The add-in is written using Borland Delphi 7.
Cheers,
Oliver