ID: 10952
Updated by: phanto
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]