[PHP-DEV] zval question From: Harald Radi (h.radi <email protected>)
Date: 01/24/01

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

-- 
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>