#19009 [Opn->Fbk]: Cannot pass LONG (64bit) parameters
| From: | phanto@php.net | Date: | Wed, 02 Oct 2002 12:07:58 +0000 |
| Subject: | #19009 [Opn->Fbk]: Cannot pass LONG (64bit) parameters | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-21256@lists.php.net to get a copy of this message | ||
ID: 19009
Updated by: phanto@php.net
Reported By: patrick@quevivamexico.com
-Status: Open
+Status: Feedback
Bug Type: COM related
Operating System: WinXP
PHP Version: 4.2.1
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-08-21 02:00:29] kalowsky@php.net
Without having looked at the code, I'd say yes.
------------------------------------------------------------------------
[2002-08-21 00:02:13] patrick@quevivamexico.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 00:00:42] kalowsky@php.net
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:00:19] patrick@quevivamexico.com
Wondered that this might because LONG is 64 bit, and php doesn't
support it.
------------------------------------------------------------------------
[2002-08-20 23:56:39] patrick@quevivamexico.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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19009&edit=1