PHP 4.0 Bug #6447: Windows COM invalid warning message
| From: | Howard dot Cohodas at dkt dot com | Date: | Wed, 30 Aug 2000 20:50:31 +0000 |
| Subject: | PHP 4.0 Bug #6447: Windows COM invalid warning message | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31317@lists.php.net to get a copy of this message | ||
From: Howard.Cohodas@dkt.com
Operating system: NT4 SP6a
PHP version: 4.0.2
PHP Bug Type: Scripting Engine problem
Bug description: Windows COM invalid warning message
Configuration...
php-4.0.2
Server API: ISAPI
WinNT4 SP6a
HTTP Server: WebSitePro/2.5.4
mySQL: 3.23.22-beta
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<?php
$id = new com("otf_GIF32_COM.GIF_Encode");
$id->Company_Name = "Design Knowledge Technologies Inc.";
?>
When a property is write-only the following error message results.
Warning: PropPut() failed: Invalid number of parameters.
The PropPut actually succeeded. Information derived from the write-only property was correct.
I recoded the COM and adding a read capability. The warning message is gone.