David,
Thanks for the quick response.
>Try dropping the array on the VFP side, just use simple memvars. the [in] and
>[out] are just indicators of whether a parameter is for input (read access) or
>output (write access, which must be passed by reference)
Even if this worked, sometimes I need to pass arrays into the function. For instance, inColNames[1] = "CA", inColNames[2] = "LOS ANGELES" to do a lookup on LOS ANGELES county, CA.
Same thing with the return value -- if I only specify a state, then an array of county information is going to be returned.
>OutVals = space(255) && usually have to preallocate this buffer to something
>bigger than needed.
Thanks, that's something I should have remembered. ;-) Doesn't seem to fix my problem, but thanks for your help!
Also, the fifth parameter is actually the return value in VB or VFP, so only four parameters are expected. I tried that too, and got a "too many parameters" error. ;-)
Bruce
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only