RE: [PHP-WIN] Excel not closing after using it via COM
| From: | Scott Hurring | Date: | Thu, 25 Apr 2002 16:59:08 +0000 |
| Subject: | RE: [PHP-WIN] Excel not closing after using it via COM | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13303@lists.php.net to get a copy of this message | ||
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.
Attachment: [application/vnd.ms-excel] test1.xls
Attachment: [application/vnd.ms-excel] test1.xls