ID:               31493
 User updated by:  csaba at alum dot mit dot edu
 Reported By:      csaba at alum dot mit dot edu
-Status:           Closed
+Status:           Open
 Bug Type:         COM related
 Operating System: Win XP Pro
 PHP Version:      5.0.3
 New Comment:

Sorry to reopen this, but I wanted to ensure that this got attention. 
I'm not objecting to it being closed, per se, but I don't think it
makes sense to do so without a comment considering that the penultimate
comment says, "Is it working", and the response is "No."  Anybody
looking at this in the future (and me looking at it now) is going to
wonder what went on.

It would be good to know whether this is not considered a bug (or is of
the 'not our problem' variety), is a Won't fix situation, or possibly
confused with bug 31492 (since that seems to have already happened
once, but that bug is distinct), or what?  But in my most recent
testing, the original scenario still failed.

Csaba


Previous Comments:
------------------------------------------------------------------------

[2005-03-09 01:40:57] csaba at alum dot mit dot edu

I have tried this with the March 7 build and it is still not working in
the same fashion, but I have a bit more information on it.  It is tied
to the fact that there is no previous navigation before the
javascript:whatever is hit.

For example,
<?php
$ie = new COM("InternetExplorer.Application"); 
//$nav = "javascript:'<body>Hi Mom</body>'";
$nav = "javascript:alert('Hi Mom')";
$ie->Visible = true;
$ie->Navigate($nav); 
?>

will vanish IE, but

<?php
$ie = new COM("InternetExplorer.Application"); 
//$nav = "javascript:'<body>Hi Mom</body>'";
$nav = "javascript:alert('Hi Mom')";
$ie->Visible = true;
$ie->Navigate("about:blank");
$ie->Navigate($nav); 
?>

will keep IE around (you can also use the non alert version).  The
point is that the 'pre navigation' to "about:blank" allows the main
navigation to go through somehow.

------------------------------------------------------------------------

[2005-02-28 21:09:15] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip



------------------------------------------------------------------------

[2005-01-17 07:46:27] csaba at alum dot mit dot edu

I have replaced the sleep(...) with appropriate com_message_pump(...),
but I still get the same results.

------------------------------------------------------------------------

[2005-01-17 04:32:22] [EMAIL PROTECTED]

You should never call sleep() in a script that uses COM, as deadlocks
and bad mojo can result.  Instead, use com_message_pump() and specify
your delay in milliseconds.

If that doesn't help any, I'll try to look into this problem later in
the week.

------------------------------------------------------------------------

[2005-01-17 04:02:24] csaba at alum dot mit dot edu

As a double check, I downloaded, then installed, PHP ver 5.0.4-dev
(cli) (built Jan 17 2005 02:30:00).

Still the same problem.  IE goes away (and rings a bell) as soon as the
Navigate is hit.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/31493

-- 
Edit this bug report at http://bugs.php.net/?id=31493&edit=1

Reply via email to