This way you only have one errant
instance and not hundreds.
Alan.
- Original Message -
From: "Neil Lincoln" <[EMAIL PROTECTED]>
To: "Alan Brown" <[EMAIL PROTECTED]>; "Scott Hurring" <[EMAIL PROTECTED]>;
"Php-Win (E-mail)" <[E
> Is temporary-object behaviour supposed to happen
> in cases like $obj->another->func(), or is this
> an unintended side-effect of something else?
no side effect, happens each time you dereference more than one member.
$obj->foo->bar->func();
will therefore create two temp objects.
>
> Does P
GREAT!
-Original Message-
From: Alan Brown [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 3:24 PM
To: Scott Hurring; Php-Win (E-mail)
Subject: Re: [PHP-WIN] Excel not closing after using it via COM
Not intended behaviour. A fix has been checked into CVS already.
- Original
Not intended behaviour. A fix has been checked into CVS already.
- Original Message -
From: "Scott Hurring" <[EMAIL PROTECTED]>
To: "Php-Win (E-mail)" <[EMAIL PROTECTED]>
Sent: Friday, April 26, 2002 16:08
Subject: RE: [PHP-WIN] Excel not closing aft
ailto:[EMAIL PROTECTED]]
> Sent: Friday, April 26, 2002 8:00 AM
> To: Scott Hurring; Php-Win (E-mail)
> Subject: Re: [PHP-WIN] Excel not closing after using it via COM
>
> There is a missing "Release" call in the COM code when
> temporary objects are
> created for a co
ott Hurring
Systems Programmer
EAC Corporation
[EMAIL PROTECTED]
Voice: 201-462-2149
Fax: 201-288-1515
> -Original Message-
> From: Alan Brown [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP-WIN] Excel not closing after using it via COM
>
> There is a missing "Release&
ing else
Alan.
- Original Message -
From: "Scott Hurring" <[EMAIL PROTECTED]>
To: "Php-Win (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, 25 April, 2002 13:51
Subject: RE: [PHP-WIN] Excel not closing after using it via COM
> I'm not doing this through A
rom: "Scott Hurring" <[EMAIL PROTECTED]>
To: "Php-Win (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, 25 April, 2002 13:51
Subject: RE: [PHP-WIN] Excel not closing after using it via COM
> I'm not doing this through Apache.
>
> I tried out Win32 command l
[EMAIL PROTECTED]
Voice: 201-462-2149
Fax: 201-288-1515
> -Original Message-
> From: Neil Lincoln [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 25, 2002 1:20 PM
> To: Scott Hurring; Php-Win (E-mail)
> Subject: RE: [PHP-WIN] Excel not closing after using it via COM
>
>
>
lto:[EMAIL PROTECTED]]
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
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
On Wed, 24 Apr 2002 17:28:32 -0400, you wrote:
>Thanks for the suggestion. I tried using SaveAs(...) in
>addition to Save(), to no avail. Excel still stays resident.
>
>This is my "end" sequence, when i'm all done processing
>the spreadsheet. Can anyone see any flaws or errors in
>what i'm doi
At 05:28 PM 4/24/02 -0400, Scott Hurring wrote:
>This is my "end" sequence, when i'm all done processing
>the spreadsheet. Can anyone see any flaws or errors in
>what i'm doing ??
>
>$book->Save();
>$book->Close();
Try
$book->Close("False");
>I agree with a previous poster to this l
Thanks for the suggestion. I tried using SaveAs(...) in
addition to Save(), to no avail. Excel still stays resident.
This is my "end" sequence, when i'm all done processing
the spreadsheet. Can anyone see any flaws or errors in
what i'm doing ??
$book->Save();
$book->Close();
unset($sheet);
Not sure if this will help or not, but I had a similar issue using Perl.
Turns out that it was popping up a dialog box on the server when
I did a save or saveas and there was a pre-existing file with that
same name. I solved it by first deleting the file, then doing a
saveas and the problem wen
: Scott Hurring; Php-Win (E-mail)
> Subject: RE: [PHP-WIN] Excel not closing after using it via COM
>
>
> I spent many hours on this and gave up and added a process
> kill for the
> EXCEL "zombie" after exiting the COM code.
> There must be a better way..
>
>
I spent many hours on this and gave up and added a process kill for the
EXCEL "zombie" after exiting the COM code.
There must be a better way..
-Original Message-
From: Scott Hurring [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 4:40 PM
To: Php-Win (E-mail)
Subject: [PHP-WIN] E
17 matches
Mail list logo