msoutlook.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IExchExt interface leak

 
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Programs Add-Ins
Author Message
JahMic



Joined: 14 Aug 2007
Posts: 1

PostPosted: Thu Feb 07, 2008 7:32 am    Post subject: IExchExt interface leak Reply with quote

I have an IExchExt interface leak, maybe I'm not thinking straight
about this, but the Release for the interface associated with the
EECONTEXT_SESSION is never called. In brief, the start / end sequence
is something like this:

ExchEntryPoint called
Install for EECONTEXT_TASK context (return s_ok)
QueryInterface w/ IID_IExchExtSessionEvents
AddRef
ExchEntryPoint called
Install for EECONTEXT_SESSION context (return s_ok)
QueryInterface w/ IID_IExchExtSessionEvents
AddRef
ExchEntryPoint called
Install for EECONTEXT_VIEWER context (return s_ok)
QueryInterface w/ IID_IExchExtSessionEvents
AddRef

do some work
exit outlook

Release for object with EECONTEXT_VIEWER context called

Release for object with EECONTEXT_TASK context called
end

Any thoughts?

Archived from group: microsoft>public>outlook>program_addins
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Memory Leak and a Folder's 'CurrentView' Hello, I've read about and experienced the memory leak problem using the Outlook object model to iterate through large numbers of Outlook items , as described in MS KB Article Q293796. Taking the advice of a number of folks who have posted on the issue, I

Use IConverterSession Interface. Hi All, I want to use the interface for MAPI to MIME conversion in VC++ ,but I not able to find the header file or library for the defination of you please tell me which file I have to include for the use of ICon

windows mail interface Hi guys, can someone tell me if you can change the user interface for the new windows mail. When I open the program, it immediately goes to all the local folder. Can you set it up to open up to the open in the so called *home page* like Outlook express. c

Run a job in a COM-interface when email i sent from Outlook I have never made code with Outlook before. But I need to run a job in a COM interface when an email i sent i Outlook. (It is the COM-interface for Dynamics AX - I want to run a job in Dynamics AX when mail is sent from Outlook) Where do I put my code? Ho

"Refresh" problems with using Outlook COM interface We've been running into the following bug. We have a program that uses the Outlook and the CDO COM interfaces. It does most things through the Outlook interface, but it does a few things through the CDO interface, and it maintains both the Outlook NameSp
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Programs Add-Ins All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group