>you probably not passing array by reference to you VB.dll and this is why it is working.Jean,
That's a valid point - I had forgotten that you were doing that. Had you taken a look at VFP's COMARRAY() function to see if that would help you out? Perhaps you need to use that function to specify how your VFP array should get passed to your DLL.
Laterness,
Jon
Jon Rosenbaum
Devcon Drummer