Article ID: 930279 - Last Review: January 23, 2007 - Revision: 1.3 The MAPIFindNext function returns the MAPI_E_FAILURE(2) error when a program that is based on Simple MAPI (SMAPI) calls the function in Windows VistaSYMPTOMSWhen a program that is based on Simple MAPI (SMAPI) calls the MAPIFindNext function in Windows Vista, the function returns the MAPI_E_FAILURE(2) error. Therefore, you cannot use the MAPIFindNext function in the Simple MAPI program. CAUSEThis problem occurs if Windows Mail is configured as the default e-mail program in Windows Vista. To determine whether Windows Mail is configured as the default e-mail program in Windows Vista, follow these steps:
WORKAROUNDTo work around this problem, use the Windows Mail API in the program. For more information about the Windows Mail API, visit the following Web site: http://msdn2.microsoft.com/en-us/library/ms709546.aspx
(http://msdn2.microsoft.com/en-us/library/ms709546.aspx)
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. APPLIES TO
| Article Translations
|
Back to the top


