Re: Re: [Gallery-devel] [PHP-QA] Bug in COM support in PHP 5.2.0 RC5

From: Date: Wed, 04 Oct 2006 00:37:00 +0000
Subject: Re: Re: [Gallery-devel] [PHP-QA] Bug in COM support in PHP 5.2.0 RC5
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.qa 
Request: Send a blank email to php-qa+get-26921@lists.php.net to get a copy of this message
Hi, folks. Any update on this? I opened a bug report for it (http://bugs.php.net/bug.php?id=38985) but it too hasn't been updated. -------------------- Larry Menard "Defender of Geese and of All Things Natural" E-mail and MSN Messenger: larry.menard@rogers.com Web: http://ca.geocities.com/larry.menard@rogers.com ----- Original Message ----- From: "Wez Furlong" <wez@netevil.org> To: "Antony Dovgal" <antony@zend.com> Cc: "Larry Menard" <larry.menard@rogers.com>; <gallery-devel@lists.sourceforge.net>; <php-qa@lists.php.net> Sent: Thursday, September 28, 2006 5:54 PM Subject: Re: [PHP-QA] Re: [Gallery-devel] [PHP-QA] Bug in COM support in PHP 5.2.0 RC5
I guess we should cast to true if we don't succeed in getting the boolean version of that object. --Wez. On Sep 28, 2006, at 5:52 PM, Antony Dovgal wrote:
On 29.09.2006 01:47, Wez Furlong wrote:
Tony, Any idea why this is now an error? Is something missing from the com extension?
I guess this is because com_object_cast() handler returns FAILURE: See ext/com_dotnet/com_handlers.c, line 527, this is the line where it likely comes from. And if the problem is in VariantChangeType() failing to convert the object to VT_BOOL, then it doesn't look like PHP problem. I can't test it on Linux though, so this is just what I see in the sources.
If so, it needs to be fixed because one of the core features of the variant class is magically representing a variant bool, which can be interpreted as either true or false.
-- Wbr, Antony Dovgal


« previous php.qa (#26921) next »