Bug #10952: Crash during interaction with a COM object

From: Date: Fri, 18 May 2001 12:29:56 +0000
Subject: Bug #10952: Crash during interaction with a COM object
Groups: php.dev 
Request: Send a blank email to php-dev+get-55762@lists.php.net to get a copy of this message
From: malderisio@tiscalinet.it Operating system: Win NT PHP version: 4.0.5 PHP Bug Type: Reproducible crash Bug description: Crash during interaction with a COM object 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... -- Edit Bug report at: http://bugs.php.net/?id=10952&edit=1

« previous php.dev (#55762) next »