Excel Vba Declare And Initialize Global Variable

To pass an array of Doubles to a DLL function the argument must be declared in VBA as ByRef x As Double (D.1) and in C the DLL function would have a corresponding argument declared as double * x.When called in VBA the first element of the array is passed (ByRef) to the DLL function. When passing a String it must be declared in VBA to be fixed length and passed ByVal. The signatures of the ... ................
................