Microsoft KB Archive/299559

From BetaArchive Wiki
Knowledge Base


Sinking Events of Objects That Are Dynamically Added to a Scripting Host Are Not Connected to the Script Engine

Article ID: 299559

Article Last Modified on 1/31/2007



APPLIES TO

  • Microsoft Encarta Reference Suite 2001



This article was previously published under Q299559

SYMPTOMS

If you have a browser that supports dynamic HTML, or if you have a scripting host that attempts to add JScript code dynamically in which the JScript adds an element that in turn performs actions in response to events, the sinking events for the newly created object, although correctly registered, are not connected to the JScript engine. Therefore, the associated code is not run.

CAUSE

During run time, script engines that are implemented according to the Windows Script Interface must go through several states (see the MSDN documentation for more information). If a new object (a pushbutton, for example) is dynamically added after the engine transition from SCRIPTSTATE_STARTED to SCRIPTSTATE_CONNECTED, the engine does not establish a connection to the object's sinking event.

RESOLUTION

A supported software update is now available from Microsoft as Windows CE 3.0 Core OS QFE 47. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products


The English version of this package should have the following file attributes or later:

   Size         File name
   ---------------------------
   36,288,856   Wce30qfe47.exe
                

The English version of this fix should contain the following files, with the listed file attributes or later:

   Date        Time      Size       File name     Platform
   --------------------------------------------------------------
   04/30/2001  08:00am   4,777,532  Jscript.lib   ARM720 (debug)
   04/30/2001  07:59am   3,537,526  Jscript.lib   ARM720 (retail)

   04/30/2001  07:56am   4,777,532  Jscript.lib   SA1100 (debug)
   04/30/2001  07:56am   3,537,526  Jscript.lib   SA1100 (retail)

   04/30/2001  07:34am   5,377,594  Jscript.lib   R3000 (debug)
   04/30/2001  07:33am   3,882,044  Jscript.lib   R3000 (retail)

   04/30/2001  07:38am   5,379,034  Jscript.lib   R4100 (debug)
   04/30/2001  07:37am   3,879,092  Jscript.lib   R4100 (retail)

   04/30/2001  07:41am   5,379,034  Jscript.lib   R4111 (debug)
   04/30/2001  07:41am   3,879,092  Jscript.lib   R4111 (retail)

   04/30/2001  07:45am   5,371,130  Jscript.lib   R4300 (debug)
   04/30/2001  07:45am   3,875,950  Jscript.lib   R4300 (retail)

   04/30/2001  07:49am   5,077,160  Jscript.lib   PPC403 (debug)
   04/30/2001  07:49am   3,640,148  Jscript.lib   PPC403 (retail)

   04/30/2001  07:52am   5,077,160  Jscript.lib   PPC821 (debug)
   04/30/2001  07:52am   3,640,148  Jscript.lib   PPC821 (retail)

   04/30/2001  07:23am   4,984,040  Jscript.lib   SH3 (debug)
   04/30/2001  07:22am   4,775,440  Jscript.lib   SH3 (retail)

   04/30/2001  07:30am   4,986,900  Jscript.lib   SH4 (debug)
   04/30/2001  07:30am   4,777,758  Jscript.lib   SH4 (retail)

   04/30/2001  08:07am   4,800,078  Jscript.lib   ARM720 (debug)
   04/30/2001  08:06am   3,611,092  Jscript.lib   ARM720 (retail)

   04/30/2001  08:03am   4,264,264  Jscript.lib   i486 (debug)
   04/30/2001  08:03am   3,188,488  Jscript.lib   i486 (retail)
                

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kbbug kbenv kbfix kbqfe KB299559