Y
Yaya.Rao
Hi,
I have an outlook addin written in VC++ for outlook 2003. I am freeing the
inspector instance and unadvising the events in the OnClose event. But, I
run into an AV in OUTLLIB.dll as soon as the OnClose event returns. OUTLLIB
is trying to access the freed inspector instance. Why is OUTLLIB trying to
access this freed inspector instance? Am I doing something wrong?
To work around this, I moved the cleanup of inspector instance to add-in app
quit event. But, since my addin doesn't unload until outlook quits, I will be
leaking these inspector instances.
Can you please advise on how to address this problem?
Thank you,
I have an outlook addin written in VC++ for outlook 2003. I am freeing the
inspector instance and unadvising the events in the OnClose event. But, I
run into an AV in OUTLLIB.dll as soon as the OnClose event returns. OUTLLIB
is trying to access the freed inspector instance. Why is OUTLLIB trying to
access this freed inspector instance? Am I doing something wrong?
To work around this, I moved the cleanup of inspector instance to add-in app
quit event. But, since my addin doesn't unload until outlook quits, I will be
leaking these inspector instances.
Can you please advise on how to address this problem?
Thank you,