Microsoft KB Archive/221721

= FIX: Mismatched Pushjmp/Popjmp With DataToClip On Big Table =

Article ID: 221721

Article Last Modified on 10/15/2002

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q221721



SYMPTOMS
The following error message:

Mismatched Pushjmp/Popjmp Call

appears in Visual FoxPro 6.0 when attempting to copy the contents of a large table to the clipboard after executing the following command from a form: _VFP.DATATOCLIP(,,1) Visual FoxPro, 5.0a running on Windows NT 4.0, produces the following Dr. Watson error:

An application error has occurred

and an application error log is being generated.

VFP.exe

Exception access violation (0xc0000005), Address:

Visual FoxPro 5.0a, running on Windows 95, produces the following error:

This program has performed an illegal operation and will be shut down.

Clicking the Details button reveals the following:

VFP caused an invalid page fault in module VFP.EXE at



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed



Steps to Reproduce Behavior
 Create a large table (approximately 5Mb in size). Create a new form named Lg_Table. Add the large table to the DataEnvironment of the form. Add a command button to the form.  Add the following code in the Click event of the command button: _VFP.DATATOCLIP(,,1)  Run the form and click the command button. The following error message can appear:

OLE exception error: Exception code c0000005. OLE object may be corrupt.

Click the Ignore button and the following message appears:

Mismatched pushjmp/popjmp call

A memory protection fault may also occur.</li></ol>

Keywords: kberrmsg kbbug kbfix kbcontainer kbctrl kbvs600sp3fix KB221721

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.