From: roozbeh on
Hi,
i was examining the TV_Inbox sample and i find out that in some
circumstances the IMailRuleClient or CRuleClient doesnt get freed.
I was wondering if this is by desing,this is bug in inbox,in
sample,and how to avoid it,as for me it is important to get this
interface released!

the case is if just IMailRuleClient is initialized and called(ie you
get a message),everything is then normal,ie it gets released when for
example you kill mail box by end tasking it.
But if a custom form is being displayed(clicking on new message to
display it),then just CFormProvider gets released and the ruleclient
doesnt,and dll unloads.

I was thinking maybe it is related to "Free" threading model of this
com?and if because it implements two different classes and objects,it
is caused by that?
i am no expert in com,
so?

thanks