A
Alexandr Kalugin via OfficeKB.com
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
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