RE: [PHP-WIN] Excel not closing after using it via COM

From: Date: Thu, 25 Apr 2002 17:20:26 +0000
Subject: RE: [PHP-WIN] Excel not closing after using it via COM
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-13304@lists.php.net to get a copy of this message
On our systems the EXCEL COM object executes as a member of "SYSTEM" instead of as a child of the owner of the Apache/php server. When the COM object completes it leaves the EXCEL hanging around as a child of a SYSTEM process. -----Original Message----- From: Scott Hurring [mailto:scott@eacnet.com] Sent: Thursday, April 25, 2002 11:59 AM To: Php-Win (E-mail) Subject: RE: [PHP-WIN] Excel not closing after using it via COM I went back and ran some perl code using the Excel COM object. Excel does properly exit... so it looks like you are correct -- it's probably a bug in PHP's COM code. Attached is is sample Perl, PHP and Excel, if anyone wants to verify that excel does indeed die after the perl script is finished, yet stays alive when the PHP script is finished. --- Scott Hurring Systems Programmer EAC Corporation ScottH@eac.com Voice: 201-462-2149 Fax: 201-288-1515 > -----Original Message----- > Try > > $book->Close("False"); > Doesnt do anything. > But then one has to ask, why does it work fine from other > languages, e.g. Perl? If the API were broken, it would seem > that it would be broken regardless of the language one was > using. > > Scott Yeah.. that's the way it seems now. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002

« previous php.windows (#13304) next »