PATCH: REGSVR.EXE GPFs in Windows 95

ID: Q148319


The information in this article applies to:


SUMMARY

This article explains how to get a patch to fix the problem discussed below in the SYMPTOMS section.

The following file is available for download from the Microsoft Software Library:

~ Oc25.exe
For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services


SYMPTOMS

When you build a 16-bit OLE Control and attempt to register it using the Register Control command under the Tools menu, Windows 95 terminates, displaying a blue screen when the REGSVR.EXE utility runs, and reporting that the REGSVR.EXE application has performed an illegal operation.


CAUSE

This is caused by Windows 95's implementation of 16-bit OLE DLLs, where the OLE DLLs are unloading in an unexpected order. This results in the DLLs' WEP calling into a code segment at an address which has been discarded and Windows 95 is not able to call a not-present segment in a WEP.


RESOLUTION

  1. Download the self-extracting patch file to a temporary directory.


  2. Run OC25.EXE. This will create the following files:
    Readme.txt
    Oc25kb.txt
    Patch.exe
    Oc25.rtp


  3. Copy Patch.exe and Oc25.rtp to \Windows\System directory on Windows 95, Windows 3.x, or Windows NT.


  4. Run the following command at the command prompt in that directory:
    patch OC25


This will patch both Oc25.dll and Oc25d.dll.


REFERENCES

Please refer to the README.TXT created by patch for more information, if the files have not been patched properly.

Additional query words: softlib


Keywords          : kbole kb16bitonly kbCtrl 
Version           : WIN3X:1.3,1.5,1.51,1.52;
Platform          : NT WINDOWS 
Issue type        : 

Last Reviewed: July 20, 1999