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
 [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

Pull Requests

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: Thu Nov 28 07:01:29 2024 UTC