WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may
require you to reinstall your operating system. Microsoft cannot guarantee that you can solve
problems that result from using Registry Editor incorrectly. Use Registry Editor at your own
risk.
Steps to Reproduce Behavior
- On the computer running Windows 95, set the following destination directories in the registry:
HKey_Local_Machine\Software\Microsoft\Windows\CurrentVersion\InternetSettings ActivexCache = "C:\DestinationDir"
and
HKey_Local_Machine\Software\Microsoft\Windows\CurrentVersion\InternetSettings\ActiveX
Cache "C:\DestinationDir"
- Create a component (either a .dll file or an .ocx file), and then wrap it into a Component.cab file.
- Create an HTML page, and then download the component that you created. Use the following code to create the HTML page:
<HTML>
<OBJECT ID="Component1"
CLASSID="CLSID:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
CODEBASE="Component.CAB#version=x,x,x,x">
</OBJECT>
</HTML>
- Open Microsoft Internet Explorer, and then navigate to the HTML page that you created. The code download error log displays the error message referenced in the "Symptoms" section of this article.
NOTE: When you call the
CoGetClassObjectFromURL function to download the component that you created, you receive the same error message.