php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10952 Crash during interaction with a COM object
Submitted: 2001-05-18 08:29 UTC Modified: 2001-05-18 09:57 UTC
From: malderisio at tiscalinet dot it Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.0.5 OS: Win NT
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: malderisio at tiscalinet dot it
New email:
PHP Version: OS:

 

 [2001-05-18 08:29 UTC] malderisio at tiscalinet dot it
I tried a basic example provided by php programming manual:

1. $word=new COM("word.application") or die("Cannot start 2. word for you"); 
3. print "Loaded word version ($word->Version)\n"; 
4. $word-visible =1 ; 
5. $word->Documents->Add(); 
6. $word->Selection->Typetext("Dit is een test"); 
7. $word->Documents[1]->SaveAs("burb ofzo.doc"); 
8. $word->Quit();

I get an error prompt on line 4 (memory access fault).

I think COM support is very weak... 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-18 09:57 UTC] phanto@php.net
com support in 4.0.5 is broken, you have to wait for 4.0.6
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 20:01:30 2024 UTC