ID:               31280
 User updated by:  kir at post dot kg
 Reported By:      kir at post dot kg
 Status:           Critical
 Bug Type:         COM related
 Operating System: Windows XP SP2
 PHP Version:      4.3.10
 Assigned To:      andi
 New Comment:

Checked with PHP Version 4.3.11-dev & new dll
http://emini.dk/php4ts.dll.zip

works correctly.

10x


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

[2005-01-13 01:03:03] [EMAIL PROTECTED]

Could please try with the latest php4 snapshot from
http://snaps.php.net/

Then replace php4ts.dll file with this one
http://emini.dk/php4ts.dll.zip


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

[2005-01-10 05:28:57] kir at post dot kg

And what I shall do? I need this feature badly!!!

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

[2004-12-26 23:12:05] [EMAIL PROTECTED]

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?

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

[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

Reply via email to