REGSVR.EXE GPFs in Windows 95

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 files are available for download from the Microsoft Download Center:


Oc25.exe

For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:

Q119591 How to Obtain Microsoft Support Files from Online Services
Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that prevent any unauthorized changes to the file.



For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services
Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that prevent any unauthorized changes to the file.



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. 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.
  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.


MORE INFORMATION


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 : kbfile kbole kb16bitonly kbCtrl
Issue type :
Technology : kbVCsearch kbAudDeveloper kbvc150 kbOLESearch kbVC151 kbVC152


Last Reviewed: May 9, 2001
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.