php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11089 Variables passed to COM objects causing errors.
Submitted: 2001-05-24 12:13 UTC Modified: 2001-06-12 12:45 UTC
From: skipsey at skipsey dot net Assigned:
Status: Closed Package: COM related
PHP Version: 4.0.4pl1 OS: Win2k
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
40 - 10 = ?
Subscribe to this entry?

 
 [2001-05-24 12:13 UTC] skipsey at skipsey dot net
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-25 13:56 UTC] phanto@php.net
duplicate of #7691.
 [2001-06-12 12:45 UTC] jmoore@php.net
Should be fixed in latest CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 09:01:26 2024 UTC