When i click to open Paint some error comes up telling me that it has performed and illegal operation......

The details are the following:

MSPAINT caused an invalid page fault in
module MFC42.DLL at 016f:6c37f9eb.
Registers:
EAX=00000000 CS=016f EIP=6c37f9eb EFLGS=00010202
EBX=00680c94 SS=0177 ESP=0056f91c EBP=0056f940
ECX=00007fff DS=0177 ESI=00691330 FS=1247
EDX=000163a4 ES=0177 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 000001e0 00000008 00691330 0056f998 00680c94 00000008 0056f9a4 6c3d66b6 0056f950 00000000 6c40f438 6c40e488 006912a0

Can someone please help me?

Dani AI

Generated

Quick expert note: the crash described by is a typical program fault on older Windows 98 systems. Scanning for malware (as suggested) and reinstalling the accessory (as recommended) are sensible first steps — and helpful that found a Microsoft fix. The steps below add safe diagnostics and recovery actions that aren’t already in the thread and that are useful if the problem recurs.

First, check disk and registry health. Run ScanDisk to repair file-system problems (you can run it from Windows or boot to MS‑DOS and use scandisk /all to force a full check). Then, if registry corruption is suspected, restore a recent backup with the Registry Checker via scanreg /restore from an MS‑DOS prompt (choose the most recent good backup). (ftp.zx.net.nz)

Next, try restoring system files and collecting crash diagnostics. Use the Windows 98 System File Checker (sfc.exe or via System Information → Tools → System File Checker) to extract missing or damaged system files from the CD instead of downloading DLLs from random sites. Also enable Dr. Watson to capture application crash logs/dumps (drwtsn32 -i) — the log/dump will show which module failed and helps pinpoint whether the fault is software or hardware. ()

Finally, rule out hardware and avoid risky fixes. Faulty RAM can produce sporadic page‑fault crashes — bootable memory testers such as MemTest86 are the right way to check RAM outside Windows. Never replace system DLLs by grabbing files from random download sites; use SFC, official installers, or a repair/reinstall from the original Windows 98 media as a last resort. Back up data and registry files before any repair. (memtest86.com)

These steps complement the thread: malware check and reinstall are good first moves; if those don’t stick, use Scandisk/Scanreg, SFC and Dr. Watson to diagnose, then test RAM and consider an OS repair.

Recommended Answers

All 8 Replies

Have you checked for viruses lately? It's possible that a virus has infected MFC.dll, or something.

how long ago did this happen?

"The Computer Man"

If you don't find any viruses ,I would try this ,go to control panel , add & remove programs /,add & remove windows components ,accessories and uncheck paint if it checked ,ok you way out then go back in and reinstall paint .

I have check for viruses, with AntiVir, and nothing showed up..

I did what you told me,caperjack, and it does the same thing..

Hey, thanks that seemed to have solved it.

Hey, thanks that seemed to have solved it.

Your welcome .:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.