Click to See Complete Forum and Search --> : COM and Variables


jnjosh
09-27-2001, 03:06 PM
Hi,

I am trying to pass a variable to an ActiveX DLL that I created in VB. The variable is an Array of Doubles. To create it in VB you would do something like.

dim dArray(2) as double
dArray(0) = 1.2
dArray(1) = 1.3
dArray(2) = 1.4

How can i create an array in PHP that can be sent to my DLL that matches the above array. I tried the array function using:

$dArray = array(1.2,1.3,1.4);

but passing this variable caused an error.

Thanks for any help...