zval question
| From: | Harald Radi | Date: | Thu, 25 Jan 2001 01:20:42 +0000 |
| Subject: | zval question | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44947@lists.php.net to get a copy of this message | ||
hi,
i'm tricking around with the COM extension to fix the open bugs (and of
course to satisfy my requirements).
there are
---------------------
if (pval_arg->is_ref == 0) { ... } else { ... }
---------------------
constructs in the code, but how could this parameter be influenced in the
php script ?
i try to fix the 'pass by reference' problem in the com extension, but
either i have to specify the behavior in the php script or i have to query
the typelib if one of the parameters is expected by reference. the second
way seems to be very time-consuming and is not always possible (some COM
objects don't export a typelib).
any ideas ? i'm stuck at the moment (since the second way is IMO not
practicable).
another question to the core team:
is it a problem to implement the COM extension as a cpp file, since the c
com-interface is not well documented and doesn't support everything ?
since this is only a win32 module it shouldn't be a problem, any objections
?
harald.
resistance is futile - nme.at