The information in this article applies to:
SYMPTOMSTo replace the System Agent in Windows 95, Microsoft has created a new Internet Explorer 4.0 Add-in component called Task Scheduler. Sample code that uses the interfaces are available for this utility, they can be found in the Internet Client SDK as well as the Platform SDK in the following directories:
If you do not have the Task Scheduler Add-in installed on your system, you
will receive an "Ole initialization and instantiation failed" error.
CAUSEYou must have the Task Scheduler Add-in installed in order for this sample to function correctly; otherwise, you will receive an "OLE initialization and instantiation failed" error. The necessary interfaces are not installed so the CoCreateInstance fails when trying to initialize the ITaskScheduler interface because the Task Scheduler Add-in is not available. RESOLUTIONThe necessary interfaces for this sample are registered when you install the Task Scheduler add-in for Internet Explorer 4.0. This add-in can be found by navigating through the Download section for Internet Explorer at the following Web site: http://www.microsoft.com/ie/After the Task Scheduler Add-in is installed, the compiled Sa.exe will function properly. STATUSThis behavior is by design. Additional query words:
Keywords : kberrmsg kbIE400 kbIE500 |
Last Reviewed: April 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |