|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19009 Cannot pass LONG (64bit) parameters
Submitted: 2002-08-20 23:56 UTC Modified: 2002-10-20 23:19 UTC
From: patrick at quevivamexico dot com Assigned:
Status: No Feedback Package: COM related
PHP Version: 4.2.1 OS: WinXP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: patrick at quevivamexico dot com
New email:
PHP Version: OS:


 [2002-08-20 23:56 UTC] patrick at quevivamexico dot com
Calling a COM function. COM written in VB. The function takes arguments (foo AS LONG,etc)

My code:

$booleanresult = $myCOMhandle->call($mynumvar,$mynumvar,$mystringvar);

This should return true if it works.

Error message: 

Warning: Type not supported or not yet implemented. in blah.php on line 96

Warning: Invoke() failed: Type mismatch. Argument: 4 in blah.php on line 96

Don't understand "Argument: 4" when only 3 parameters are required.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-21 00:00 UTC] patrick at quevivamexico dot com
Wondered that this might because LONG is 64 bit, and php doesn't support it.
 [2002-08-21 00:00 UTC]
So what is the bug you're reporting?

The error message states that the type you are using is not yet supported by PHP.
 [2002-08-21 00:02 UTC] patrick at quevivamexico dot com
So LONG being 64 bit is the reason? If so, sorry for bothering you, but the VB developer was denying this.
 [2002-08-21 02:00 UTC]
Without having looked at the code, I'd say yes.  
 [2002-10-02 07:07 UTC]
LONG beeing 64 bit should not do any harm (beside beeing close-cropped to 32 bit).
can you please provide the typelibrary of your component so that i can look which type is expected/not understood by php.
 [2002-10-20 23:19 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 24 00:01:30 2024 UTC