A
Allan
Hi!
I have a windows service which periodically processes e-mails from Exchange
Server 2003. To connect to Exchange I use MAPI functionality.
Following is the extract from my code:
MAPIINIT_0 pMapiInit;
pMapiInit.ulVersion = MAPI_INIT_VERSION;
pMapiInit.ulFlags =
MAPI_NT_SERVICE | MAPI_MULTITHREAD_NOTIFICATIONS;
hr = MAPIInitialize(&pMapiInit);
…
MAPIUninitialize();
After about 400 - 500 iterations which occur in time interval of
approximately 2 days I got following error message:
MAPIInitialize failed 80040108
How is it possible to overcome that problem or bug?
Best regards,
Allan
I have a windows service which periodically processes e-mails from Exchange
Server 2003. To connect to Exchange I use MAPI functionality.
Following is the extract from my code:
MAPIINIT_0 pMapiInit;
pMapiInit.ulVersion = MAPI_INIT_VERSION;
pMapiInit.ulFlags =
MAPI_NT_SERVICE | MAPI_MULTITHREAD_NOTIFICATIONS;
hr = MAPIInitialize(&pMapiInit);
…
MAPIUninitialize();
After about 400 - 500 iterations which occur in time interval of
approximately 2 days I got following error message:
MAPIInitialize failed 80040108
How is it possible to overcome that problem or bug?
Best regards,
Allan