View Single Post
  #1  
Old August 10th 06, 05:55 AM posted to microsoft.public.outlook.program_addins
Alexandr Kalugin via OfficeKB.com
external usenet poster
 
Posts: 4
Default Unknow exception

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