declare long APIGetEnv in APIDll long declare long APIFunction in APIDll long pPointer, double @ dArray dimension dArray[2] dArray=0.0 nPtr=APIGetEnv() nError=APIFunction(nPtr,@dArray) && does not update the array elements!!! * function returns nError <> 0 which means success.I checked out the samples in VFP8 on passing arrays to API which converts the array to a string of Hex representations of the arrays. I need to pass the array to be updated with values.