![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi!
I have such code try { ... } catch(_com_error e) { _bstr_t msg = e.ErrorMessage(); MessageBoxW(NULL, msg, DEFMSGBOXCAPTION, MB_ICONERROR); } Inside the try there is a piece of code iterating through mail items collection inside the MAPIFolder, getting subjects and sender names. Sometimes I get strange error: program hangs somewhere inside the try for about 10 minutes and then i get _com_error with such description "Unknown error - 9ACCCC0F" the error appear very seldom, so I cant repeat it under debugger Have somebody ever faced with such problem? I am using C++\ATL, Visual Studio 7, MS Outlook 2003 Thanks -- Message posted via http://www.officekb.com |
Ads |
#2
|
|||
|
|||
![]()
Which line of code exacly causes that exception? Do you have a sample code
snippet that reproduces the problem? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Alexandr Kalugin via OfficeKB.com" u25068@uwe wrote in message news:648b35decf81f@uwe... Hi! I have such code try { ... } catch(_com_error e) { _bstr_t msg = e.ErrorMessage(); MessageBoxW(NULL, msg, DEFMSGBOXCAPTION, MB_ICONERROR); } Inside the try there is a piece of code iterating through mail items collection inside the MAPIFolder, getting subjects and sender names. Sometimes I get strange error: program hangs somewhere inside the try for about 10 minutes and then i get _com_error with such description "Unknown error - 9ACCCC0F" the error appear very seldom, so I cant repeat it under debugger Have somebody ever faced with such problem? I am using C++\ATL, Visual Studio 7, MS Outlook 2003 Thanks -- Message posted via http://www.officekb.com |
#3
|
|||
|
|||
![]()
Dmitry Streblechenko wrote:
Which line of code exacly causes that exception? Do you have a sample code snippet that reproduces the problem? No. The thing is that I cant reproduce the problem. -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/200608/1 |
#4
|
|||
|
|||
![]()
Did you try ot put some kind of logging to figure out the line where the
exception happens? Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Alexandr Kalugin via OfficeKB.com" u25068@uwe wrote in message news:648c656dfe551@uwe... Dmitry Streblechenko wrote: Which line of code exacly causes that exception? Do you have a sample code snippet that reproduces the problem? No. The thing is that I cant reproduce the problem. -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/200608/1 |
#5
|
|||
|
|||
![]()
Dmitry Streblechenko wrote:
Did you try ot put some kind of logging to figure out the line where the exception happens? I dont see the point of doing so in my case. I was just wondering if somebody have ever had _same_ problem. -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/200608/1 |
#6
|
|||
|
|||
![]()
The point is to run the code on a machine where this error occurs (since you
apparently cannot reproduce it in your debug environment) and see which line of code is the culprit. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Alexandr Kalugin via OfficeKB.com" u25068@uwe wrote in message news:64970a7e9c048@uwe... Dmitry Streblechenko wrote: Did you try ot put some kind of logging to figure out the line where the exception happens? I dont see the point of doing so in my case. I was just wondering if somebody have ever had _same_ problem. -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...ddins/200608/1 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is 0x0eedfade exception? | Dmitry Streblechenko | Add-ins for Outlook | 2 | June 20th 06 07:59 PM |
Exception from HRESULT | Laks | Add-ins for Outlook | 1 | May 11th 06 09:24 AM |
Exception at item display | Yury Kudryashov | Add-ins for Outlook | 0 | March 13th 06 06:12 PM |
The folder is full exception | jim | Add-ins for Outlook | 1 | January 16th 06 04:27 PM |
Got exception while QueryInteface | Vinayakc | Add-ins for Outlook | 0 | January 13th 06 08:44 AM |