M
Mark McGinty
Greets,
I have an addin, written in VB6, that calls an out-proc COM server (to
process a queue, though this is not important.) Before it exits the COM
server fires an event, following which the addin sets the object variable
(for the COM server) to Nothing. After the addin returns from that event,
the COM server releases its object references and then calls the ExitProcess
API.
I added the call to ExitProcess to support Vista, because without it Vista
"detected" a hung process, which made for a very annoying UI experience
every time the COM server was called. (The call to ExitProcess also makes
debugging the COM server interesting, because it causes the VB6 IDE to exit
its process as well, though this, too, is not important.)
All of the above works fine up to and including Outlook 2003, but in Outlook
2007, if an inspector is open when the COM server exits, Outlook freezes.
(I can tell it is at exactly this point from debugging output generated by
the COM server and the addin.) Task man shows CPU usage for Outlook's
process at 99% when this occurs.
Has anyone read anything, about changes in Outlook 2007, that might be
relevant?
TIA,
Mark
I have an addin, written in VB6, that calls an out-proc COM server (to
process a queue, though this is not important.) Before it exits the COM
server fires an event, following which the addin sets the object variable
(for the COM server) to Nothing. After the addin returns from that event,
the COM server releases its object references and then calls the ExitProcess
API.
I added the call to ExitProcess to support Vista, because without it Vista
"detected" a hung process, which made for a very annoying UI experience
every time the COM server was called. (The call to ExitProcess also makes
debugging the COM server interesting, because it causes the VB6 IDE to exit
its process as well, though this, too, is not important.)
All of the above works fine up to and including Outlook 2003, but in Outlook
2007, if an inspector is open when the COM server exits, Outlook freezes.
(I can tell it is at exactly this point from debugging output generated by
the COM server and the addin.) Task man shows CPU usage for Outlook's
process at 99% when this occurs.
Has anyone read anything, about changes in Outlook 2007, that might be
relevant?
TIA,
Mark