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[ at ]uwe> wrote in message news:648b35decf81f[ at ]uwe...
[Quoted Text] > 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>
|