DOCUMENT:Q234615 29-JUN-2001 [win95x] TITLE :Windows 95 Tools May Cause Illegal Operation During Shutdown PRODUCT :Microsoft Windows 95.x Retail Product PROD/VER:WINDOWS:95 OPER/SYS: KEYWORDS:kberrmsg kbtool osr2 win95 ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Windows 95 OEM Service Release, versions 2.0, 2.1, 2.5 ------------------------------------------------------------------------------- SYMPTOMS ======== If the Paint, WordPad, and Imaging tools are all running and either Paint or WordPad is the active program when you shut down or log off your computer, you may receive the following error message: An illegal operation occurred CAUSE ===== In Windows 95, Paint and WordPad are Microsoft Foundation Classes (MFC) version 3 programs, and Imaging is an MFC 4.0 program. There is a conflict in global memory between versions 3.x and 4.0 of MFC, which may cause the version 4.0 program to lose a handle to a window function during Windows 95 shutdown. RESOLUTION ========== To prevent this problem from occurring, quit Paint, WordPad, Imaging, and any other MFC programs before shutting down or logging off your computer. STATUS ====== Microsoft has confirmed this to be a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected in Microsoft Windows 98. MORE INFORMATION ================ Windows 95 (retail release) does not include the Imaging tool. However, Windows 95 (retail release) does include MFC 3.0 versions of Paint and WordPad. If you install an MFC 4.0 program, and you have Paint, WordPad, and the MFC 4.0 program open during shutdown, the error message listed above may occur. Additional query words: freeze accessory accessories ====================================================================== Keywords : kberrmsg kbtool osr2 win95 Technology : kbWin95search kbOPKSearch kbWin95OPKOSR25 kbWin95OPKOSR210 Version : WINDOWS:95 Issue type : kbprb ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2001.