B
Boaz Feldbaum
Hello all,
I'm developing and outlook addin in ATL/C++. Environment is VS2005 &
Outlook2003. I want to display mail items from my addin. If I call to
pMailItem->Display() from within an OnNewMail sink function, it works just
fine. However, if I create a thread and call the above from within that
thread, I get an error code 0xdcd04005 and the following in the debugger
output window:
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x8001010D: An outgoing
call cannot be made since the application is dispatching an input-synchronous
call.
'OUTLOOK.EXE': Loaded 'C:\Program Files\Common Files\Microsoft Shared\Smart
Tag\IETAG.DLL', No symbols loaded.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x8001010D: An outgoing
call cannot be made since the application is dispatching an input-synchronous
call.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x8001010D: An outgoing
call cannot be made since the application is dispatching an input-synchronous
call.
And also outlook becomes unstable. That is, sending mail messages hungs
outlook.
How can I display mail items from within my thread? All other methods of
pMailItem works fine also from within the thread, only Display() fails.
Need help.
Thanks a lot in advance.
I'm developing and outlook addin in ATL/C++. Environment is VS2005 &
Outlook2003. I want to display mail items from my addin. If I call to
pMailItem->Display() from within an OnNewMail sink function, it works just
fine. However, if I create a thread and call the above from within that
thread, I get an error code 0xdcd04005 and the following in the debugger
output window:
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x8001010D: An outgoing
call cannot be made since the application is dispatching an input-synchronous
call.
'OUTLOOK.EXE': Loaded 'C:\Program Files\Common Files\Microsoft Shared\Smart
Tag\IETAG.DLL', No symbols loaded.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x8001010D: An outgoing
call cannot be made since the application is dispatching an input-synchronous
call.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x80004002: No such
interface supported.
First-chance exception at 0x7c81eb33 in OUTLOOK.EXE: 0x8001010D: An outgoing
call cannot be made since the application is dispatching an input-synchronous
call.
And also outlook becomes unstable. That is, sending mail messages hungs
outlook.
How can I display mail items from within my thread? All other methods of
pMailItem works fine also from within the thread, only Display() fails.
Need help.
Thanks a lot in advance.