I am trying to use .NET Framework in PHP.
The component loads fine, but the component expects an array of bytes as the parameter.
Code: Select all
$asd = array(0);
$v = new VARIANT($asd,VT_ARRAY);
$com->GetBytes($v);Any ideas? Using anything else except VT_ARRAY will give me "type mismatch" error, so VT_ARRAY is definitely the right choice, but I can't seem to make the parameter correct.