[PHP-WIN] Re: Passing an array into a COM function

2002-04-01 Thread Jeff Bendixsen
1] = "THAT"; $SearchCriteria = new Variant($PSearchCriteria, VT_ARRAY); Here is a result array passed by reference: $PResult = array(); $Result = new Variant($PResult, VT_ARRAY | VT_BYREF); There is no support for multi dimensioanl arrays Jeff On Thu, 28 Mar 2002 13:56:13 GMT, [EM

[PHP-WIN] Passing an array into a COM function

2002-03-29 Thread Jeff Bendixsen
Hi I have an example in ASP calling a COM objectr that looks like this: ... redim vArray(1,1) vArray(0,0)="Name1" vArray(1,0)="Value1" vArray(0,1)="Name2" vArray(1,1)="Value2" res=obj.SomeFunction(vArray,arrRes,CInt(100)) ... So far the authors will only tell me that they use Variant arrays.