Bug #10952 Updated: Crash during interaction with a COM object
| From: | phanto@php.net | Date: | Fri, 18 May 2001 13:57:25 +0000 |
| Subject: | Bug #10952 Updated: Crash during interaction with a COM object | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55770@lists.php.net to get a copy of this message | ||
ID: 10952
Updated by: phanto
Reported By: malderisio@tiscalinet.it
Old-Status: Open
Status: Closed
Bug Type: Reproducible crash
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
com support in 4.0.5 is broken, you have to wait for 4.0.6
Previous Comments:
---------------------------------------------------------------------------
[2001-05-18 08:29:56] malderisio@tiscalinet.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...
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10952&edit=2