Bug #11462 Updated: COM does NOT work

From: Date: Wed, 13 Jun 2001 11:07:14 +0000
Subject: Bug #11462 Updated: COM does NOT work
Groups: php.dev 
Request: Send a blank email to php-dev+get-57075@lists.php.net to get a copy of this message
ID: 11462 User Update by: flop.m@usa.net Status: Open Bug Type: COM related Operating system: Windows 2000 PHP Version: 4.0 Latest CVS (2001-06-13) Description: COM does NOT work I obtained this Warning: Unable to obtain IDispatch interface for CLSID {000209FF-0000-0000-C000-000000000046}: Server execution failed in d:\program files\apache group\apache\htdocs\test.php on line 1 Previous Comments: --------------------------------------------------------------------------- [2001-06-13 07:03:30] flop.m@usa.net I'm using W2KSP2, Apache 1.3.20, PHP latest snap from Zend (2001-6-12) using the module way, not the CGI way. This script does not work $word=new COM("word.application") or die("Cannot start word for you"); print "Loaded word version ($word->Version)n"; $word->visible =1 ; $word->Documents->Add(); $word->Selection->Typetext("Is this what you meant?"); What happens? Marecandja --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=11462

« previous php.dev (#57075) next »