[PHP-DEV] Bug #11089: Variables passed to COM objects causing errors. From: skipsey <email protected>
Date: 05/24/01

From: skipsey <email protected>
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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>