hi,
now i've more or less fixed all open com-related bugs.
i've written an additional VARIANT module that represents the C VARIANT
Datatype.
now you can pass this to the com-method and all works fine ...
short example:
<?php
$cpx = new COM("TACPXSrv.CPXSrv"); // create com object
$var = new VARIANT(); // first constructor: creats a
VT_EMPTY variant
$var = new VARIANT("foo"); // second constructor: tries
to determine the
correct datatype
$var = new VARIANT("bar", "VT_BSTR"); // third constructor: gives you full
control
echo get_class($var); // VARIANT
echo $var->value; // ->value delivers
the actual content of the
VARIANT, ro
$var->bstrVal = "abc"; // all the VARIANT attributes
are supportet, wo
$var->pbstrVal = "bcd";
$var->lVal = 26;
echo $var->value;
$cpx->CPXExecute(0x0301, 2, 5, "", $var);
echo $var->value; // shows the result
from the function call above
?>
are there any objections ? whom should i send the sources ? how should i
document the new functionalities ?
harald.
resistance is futile - nme.at
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]