FIX: MAPI: GPF When Attempt to Download 923 or More Messages (95501)



The information in this article applies to:

  • Microsoft Visual Basic Standard Edition for Windows 2.0

This article was previously published under Q95501

SYMPTOMS

The MAPI messages control causes a general protection (GP) fault when you try to download more than 923 messages from the inbox after setting the Action property to MSG_FETCH.

CAUSE

This problem occurs because the internal 64K limit is exceeded when more than 923 messages are fetched into the message set.

WORKAROUND

The only way to avoid this problem is to limit the number of messages downloaded by using the FetchMsgType and FetchUnreadOnly properties to limit the message set to a particular set of messages.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Visual Basic version 2.0 for Windows. This problem was corrected in Microsoft Visual Basic version 3.0 for Windows.

Modification Type:MinorLast Reviewed:1/8/2003
Keywords:kbbug KB95501