View Single Post
  #4  
Old June 8th 07, 01:29 AM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 1,645
Default CreateItem change for Outlook 2007? E_NOINTERFACE for returned objects.

Can you check that the GUID is right?? Or hardcode QI to use
{00063034-0000-0000-C000-000000000046}?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"msoliver" wrote in message
oups.com...
On Jun 5, 6:05 pm, "Dmitry Streblechenko" wrote:
I don't think anything changed in that area. Does it make any difference
if
Outlook is already running when your code is executed?

Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"msoliver" wrote in message

ups.com...



No diffference. Same result if Outlook is running. CreateItem is
returning an IDispatch object, just can't seem to QueryInterface on it
to get the right item... Any ideas?

Thx,

- Mike



Ads
 

Online Advertising - Ringtones - Outsourcing - Debt Consolidation - Credit Cards