Need Help Fixing Ms Paint, Please!!!

Toolman

Senior member
Oct 10, 1999
989
0
0
My buddy uses Ms Paint quite a bit and recently started getting error messages everytime he attempts to open it now. He has reinstalled Ms paint from his Win 98SE Plus! disc and even reinstalled Win 98. He does not want to reformat.

This is the error message he keeps getting:

MSPAINT caused an invalid page fault in
Module MFC42.DLL at 018f:5f40d84d
Registers:
EAX=00000000 CS=018f EIP=5f40d84d EFLGS=00010202
EBX=00680c94 SS=0197 ESP=0056f91c EBP=0056f940
ECX=00007fff DS=0197 ESI=00691330 Fs=20c7
EDX=000233a4 ES=0197 EDI=0056f950 GS=0000
Bytes at CS:EIP:
89 48 58 8b 45 fc 3b 47 0c 7c cf 33 f6 39 77 0c
Stack dump:
00000001 00680c94 00680c94 00000300 00000008
00691330 0056f998 00680c94 00000008 0056f9a4
5f46670b 0056f950 00000000 5f49f368 5f49d64c
006912a0

Any help would be greatly appreciated, thanks!

 

alocurto

Platinum Member
Nov 4, 1999
2,174
0
76
That is a jumbled mess of some type of assembly code and registers and what not. I don't think anyone knows what that means outside of Bill Gate's progrmmers. Locate the location of MFC42.DLL using find (probably in the system folder). Get MFC42.DLL from another machine and put it on floppy. Then boot into DOS and replace the file on the machine with the one on the floppy. This may do it. ALso make sure you have windows up to date using http://windowsupdate.microsoft.com :D

-alocurto
 

Vinny N

Platinum Member
Feb 13, 2000
2,277
1
81
From the Microsoft knowledge database...

The fault location is different, but that's probably because it's a slightly newer or older MFC42.DLL...

I've seen this problem before, and this MS Knowledge Database solution worked.

If this works, I really feel sorry for your friend...I mean, reinstalling windows? aieeee.



<<

When you attempt to start Microsoft Paint (MSPAINT), or you attempt to type text, click a font size in the Text toolbar, and then press the ESC key to close the Text toolbar, and then press the ESC key to close the Text toolbar, you may receive the following error message:

MSPAINT caused an invalid page fault in module Mspaint.exe at 015f:010259e2.
When you click Close, you receive the following error message:
MSPAINT caused an invalid page fault in module Mfc42.dll at 015f:5f4012b3.

RESOLUTION
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the &quot;Changing Keys and Values&quot; Help topic in Registry Editor (Regedit.exe) or the &quot;Add and Delete Information in the Registry&quot; and &quot;Edit Registry Data&quot; Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT or Windows 2000, you should also update your Emergency Repair Disk (ERD).

To resolve this problem, use registry editor to delete the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Applets\Paint
This registry key is rebuilt the next time you start Paint.

To prevent this problem from occurring, close the Text toolbar by clicking Text Toolbar on the View menu to remove the check mark.


>>