#0 [NEW]: Fatal error when setting the value of COM object's Attribute property
| From: | m dot nemec at post dot cz | Date: | Tue, 18 Oct 2005 09:44:32 +0000 |
| Subject: | #0 [NEW]: Fatal error when setting the value of COM object's Attribute property | ||
| Groups: | php.bugs php.bugs php.bugs php.bugs php.bugs php.bugs php.bugs php.bugs php.dev php.dev php.dev php.dev php.dev php.dev php.dev php.dev php.dev php.dev php.dev | ||
| Request: | Send a blank email to php-bugs+get-86680@lists.php.net to get a copy of this message | ||
From: m dot nemec at post dot cz
Operating system: windows XP Pro
PHP version: 5CVS-2005-10-18 (dev)
PHP Bug Type: COM related
Bug description: Fatal error when setting the value of COM object's Attribute property
Description:
------------
This bug is the same as Bug #28161 described erlier.
I tried PHP 5.0.5 and the latest snapshot.
This COM object is from Microsoft's WMRM 10 SDK
Reproduce code:
---------------
<?php
$rid=0;
$headObj = new COM("Wmrmobjs.WMRMHeader");
$headObj->Attribute["RID"] = $rid;
?>
Actual result:
--------------
Fatal error: Uncaught exception 'com_exception' with message 'Error
[0x8002000e] Invalid number of parameters. ' in test.php:4 Stack trace: #0
test.php(4): unknown() #1 {main} thrown in test.php on line 4
--
Edit bug report at http://bugs.php.net/?id=0&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=0&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=0&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=0&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=0&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=0&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=0&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=0&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=0&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=0&r=support
Expected behavior: http://bugs.php.net/fix.php?id=0&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=0&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=0&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=0&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=0&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=0&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=0&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=0&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=0&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=0&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=0&r=mysqlcfg