#31280 [Opn->Asn]: Impossible to instance word XP with COM and php 4.3.10
| From: | edink@php.net | Date: | Sun, 26 Dec 2004 22:12:12 +0000 |
| Subject: | #31280 [Opn->Asn]: Impossible to instance word XP with COM and php 4.3.10 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-71092@lists.php.net to get a copy of this message | ||
ID: 31280
Updated by: edink@php.net
Reported By: kir at post dot kg
-Status: Open
+Status: Assigned
Bug Type: COM related
Operating System: Windows XP SP2
PHP Version: 4.3.10
-Assigned To:
+Assigned To: stas
New Comment:
Verified.
It seems that code execution never gets into the part where refcount is
increased in zend_execute.c around lne 1580.
Stas could you have a look?
Previous Comments:
------------------------------------------------------------------------
[2004-12-24 09:25:21] kir at post dot kg
Update http://snaps.php.net/win32/php4-win32-STABLE-200412240530.zip
gave same result
------------------------------------------------------------------------
[2004-12-24 06:35:26] kir at post dot kg
Description:
------------
Hello. i'm using com object to generate word file on server-side with
word xp. Everything was OK until i change php from 4.3.9 to 4.3.10. My
Apache call an erorr in Windows XP.
After using last update php
(http://snaps.php.net/win32/php4-win32-STABLE-200412232130.zip), apache
start to call an erorr after $word->Visible = 0; Before update - after
$word = new COM("word.application");
Reproduce code:
---------------
$word = new COM("word.application") or die("Unable to instanciate
Word");
$word->Visible = 0;
$word->Documents->Add();
$word->Selection->Typetext("new text");
$word->Documents[1]->SaveAs("new.doc", 0);
$word->Quit();
$word->Release();
$word = null;
Expected result:
----------------
Create new word document
Actual result:
--------------
Not created
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31280&edit=1