As we all know Outlook Express needs to periodically compact its database for proper operation. However, I have recently discovered a very disturbing issue regarding the compacting process in Outlook Express; it increases it's "Compact Check Count" in the Registry every time a MAPI session is closed. In other words, even if there are no new messages added to the database the count will increase every time an application checks for new messages; whether there are any or not. Further to "Fetch" new messages a session needs to be closed, and then re-opened.
Once the "Compact Check Count" exceeds 100 the dreaded compact request pops up stalling any process trying to access the client.
Considering that the compacting process only takes a few seconds, I've never understood the need for the client to ask permission; why doesn't it just do it, or at least provide an option to bypass the request.
At any rate it seems I have two options; either to have my received message checking App try to find the "Outlook Express" compacting request window, find it's "Ok" button and then "Click" the button; or switch over to using CDO and directly access the server providing the email of interest. Currently I have no familiarity with CDO, nor have I found any good examples.
Does anyone have any suggestions?
Once the "Compact Check Count" exceeds 100 the dreaded compact request pops up stalling any process trying to access the client.
Considering that the compacting process only takes a few seconds, I've never understood the need for the client to ask permission; why doesn't it just do it, or at least provide an option to bypass the request.
At any rate it seems I have two options; either to have my received message checking App try to find the "Outlook Express" compacting request window, find it's "Ok" button and then "Click" the button; or switch over to using CDO and directly access the server providing the email of interest. Currently I have no familiarity with CDO, nor have I found any good examples.
Does anyone have any suggestions?