Bug #11089: Variables passed to COM objects causing errors.
| From: | skipsey at skipsey dot net | Date: | Thu, 24 May 2001 16:13:10 +0000 |
| Subject: | Bug #11089: Variables passed to COM objects causing errors. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56635@lists.php.net to get a copy of this message | ||
From: skipsey@skipsey.net
Operating system: Win2k
PHP version: 4.0.4pl1
PHP Bug Type: COM related
Bug description: Variables passed to COM objects causing errors.
If I create two new COM objects
$first = new COM (object1.function);
$second = new COM (object2.function);
then
$a_var = $second->task;
$first->dosomething($a_var);
I get the following message -
Warning: Invoke() failed: Type mismatch. in D:\Data\docs\whorl_test\connect2.php on line..
the rest of the script I'm running seems fine, it only stops working when I get to this line.
The data being passed as $a_var is in the form of an array.
Thanks for your time,
John.
--
Edit Bug report at: http://bugs.php.net/?id=11089&edit=1