I have a COM object with some properties. One of the properties has one BSTR parameter and returns the second COM object. How do I use the second object?

I've tried this (MyRecordset is a COM object of the type ADODB.Recordset):

if ($com(MyRecordset, Fields, 2, bStr, blablabla, dispatch* MyField) == 0) {
echo failed at point 4
goto finish

if ($com(MyField, Value, 2) == 0) {
echo failed at point 5
goto finish

I received an error message:

No such Com 'TheField' open (line ###, aliases.ini)


Andrew Usachov