If I create two ADO objects like this:
$ado = new COM('ADODB.Connection');
$ado->Open(<conn str>);
$q = new COM('ADODB.Command');
$q->ActiveConnection = $ado;
...line 4 fails, because it is expecting a COM object, and it is getting a PHP object. So, how do I set properties that expect a COM object?