MAPIFindNext return 16 but there are emails in Windows Mail
Hi everybody,
I builted an aplication that read emails from windows Mail. The MAPILogon returns 0, but when a try to send a MAPIFindNext before to use MAPIReadMail the return code is 16. There are emails unreaded in windows mail and i thing that the return code must be 0 for MAPIFindNext.
Re: MAPIFindNext return 16 but there are emails in Windows Mail
0 = SUCCESS_SUCCESS
16 = MAPI_E_NO_MESSAGES
I´m allways receive a return code 16, but the return code is not correct. There are messages unreaded in windows mail inbox, so, will must be 0.
I don´t know i cant read the unreaded emails in windows mail.
Two days ago i need to reinstall the windows vista to factory configuration. The partitions was recreated and the windows vista reinstalled. after this i installed the office 2003.
The Program was functioning correctly but now it stopped to function.
Bookmarks