Microsoft KB Archive/254465

= PRB: Top-Level Form with Intellimouse May Cause Page Fault in Windows Explorer =

Article ID: 254465

Article Last Modified on 7/6/2007

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q254465



SYMPTOMS
When you use the Microsoft Intellimouse with top-level forms, you may receive the following error message:

Explorer has caused an invalid page fault in module 0000:0c2c9d90



CAUSE
This occurs with versions of Point32.exe that shipped before IntelliPoint 3.0.



RESOLUTION
Download the latest versions of the Microsoft Mouse drivers at the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=D3B2C863-2F8A-4339-9542-18F90B69128D

NOTE: It appears that this problem can also be resolved by removing the Mswheel.exe file on systems with the older software.



Steps to Reproduce Behavior
To reproduce this behavior, you must have Microsoft Windows 98 installed, and a version of Point32.exe prior to 3.00.0307. (Note that version 14 is prior to 3.00.0307.)  Create a new project (TopForm.pjx).  Paste the following code in a .prg file (TopForm.prg) in TopForm.pjx: loForm = CREATEOBJECT("frmTopLevel") loForm.Show READ EVENTS

DEFINE CLASS frmTopLevel AS form

Height = 106 Width = 264 AutoCenter = .T.  Caption = "Top-Level Form" Name = "frmTopLevel" ShowWindow = 2

ADD OBJECT lblNote AS label WITH ; Caption = "Someone ought to open up a window!", ; Height = 17, ; Left = 36, ; Top = 24, ; Width = 209, ; Name = "lblNote"

ADD OBJECT cmdExit AS commandbutton WITH ; Top = 60, ; Left = 156, ; Height = 27, ; Width = 84, ; Caption = "Exit", ; Name = "cmdExit"

PROCEDURE QueryUnload CLEAR EVENTS ENDPROC

PROCEDURE cmdExit.Click IF ThisForm.QueryUnload ThisForm.Release ENDif ENDPROC ENDDEFINE  Set TopForm.prg as the Main program, and build an EXE (TopForm.exe). Run TopForm.exe from the Start Menu or Windows Explorer.

You may see the error message mentioned above.

Keywords: kbcodesnippet kbprb KB254465

-

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

© Microsoft Corporation. All rights reserved.