Article ID: 930279 - View products that this article applies to.
When 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.
This 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:
To 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:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Article ID: 930279 - Last Review: January 23, 2007 - Revision: 1.3