ID:               38021
 Updated by:       [EMAIL PROTECTED]
 Reported By:      zyablik at insc dot ru
-Status:           Assigned
+Status:           Feedback
 Bug Type:         COM related
 Operating System: XP SP2 IIS onboard
 PHP Version:      5.1.4
 Assigned To:      wharmby
 New Comment:

Please try using this CVS snapshot:

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

By well known example I assume you mean something like the 
following: http://www.pastebin.ca/338618.

I have tried this example against the latest level of PHP 5.2 and it
works fine. Can you please retry with the latest 5.2 snapshot and
re-open the defect with details of your actual php script if the
problem persists. 


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

[2006-07-06 14:58:36] zyablik at insc dot ru

Description:
------------
Fatal Exeption on new COM("Word.Application")


Reproduce code:
---------------
Very well known example for testing "word.Application" COM object.
my line 13 is:

$word = new COM("Word.Application");
... the same as expected
$word->Documents->Add();



Expected result:
----------------
Creation of new test word file.

Actual result:
--------------
Fatal error: Uncaught exception 'com_exception' with message
'<b>Source:</b> Microsoft Word<br/><b>Description:</b> Could not open
macro storage.' in D:\dir\com.php:13 Stack trace: #0
D:\dir\com.php(13): variant->Add() #1 {main} thrown in D:\dir\com.php
on line 13

What does that means?


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


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

Reply via email to