Re: Re: [Gallery-devel] [PHP-QA] Bug in COM support in PHP 5.2.0 RC5
| From: | Antony Dovgal | Date: | Thu, 28 Sep 2006 21:52:04 +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 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-26918@lists.php.net to get a copy of this message | ||
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