#22933 [Fbk->NoF]: COM calls generate XP error

From: Date: Tue, 26 Aug 2003 05:56:30 +0000
Subject: #22933 [Fbk->NoF]: COM calls generate XP error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-46635@lists.php.net to get a copy of this message
ID: 22933 Updated by: sniper@php.net Reported By: cstreeter at andesagroup dot com -Status: Feedback +Status: No Feedback Bug Type: COM related Operating System: Win XP Pro SP1 PHP Version: 5CVS-2003-03-27 (dev) New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2003-08-18 08:43:52] sfox@php.net Can you please test latest CVS and report whether the problem still exists on XP? - thanks - ------------------------------------------------------------------------ [2003-03-27 13:13:04] cstreeter at andesagroup dot com Here's the code snippet I am using: <? $word = new COM("word.application") or die("Unable to instanciate Word"); print "Loaded Word, version {$word->Version}\n"; $word->Visible = 1; $word->Documents->Add(); $word->Selection->TypeText("This is a test..."); $word->Documents[1]->SaveAs("Useless test.doc"); $word->Quit(); ?> instatiating the Word object works fin. I can tell becuse this does not fail when comment all the other code out and I can see in the Windows Task Manager that an instance of Word was instantiated. As soon as I try to do anything else, I get one of those famous XP error screens asking me if I want to send the info to Microsoft. According to this code (which I got from PHP help site somewhere) it looks fairly straight forward. Nothing fancy going on here. Can you help? Thank you. Chris Streeter The Andesa Corporation Bethlehem, PA, USA ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22933&edit=1

« previous php.bugs (#46635) next »