View Single Post
  #3  
Old April 10th 09, 10:23 AM posted to microsoft.public.outlook.program_addins
ryotyankou via OfficeKB.com
external usenet poster
 
Posts: 101
Default Why DispEventAdvise couldn't work?

Yes, that's right, i change the object to a member of class, it is ok. Thanks
in advance. ^_^
But here is another question, in my test code, i assume that the MsgStore's
name is "hotmail", but in fact the name can be not "hotmail". What's the
better way to get the correct entry id of inbox?(not default MsgStore).

Dmitry Streblechenko wrote:
1. The object raising the events (HotInboxItems) must be alive at all times.
Make sit a global/cklass variable rather than a local one.
2. There is nothing special about the Hotmail store (which is really a PST
store).


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200904/1

Ads