Passing VB arrays to Delphi DLLs

There have been a few threads recently about the vicissitudes of passing
Delphi arrays to C/C++ DLLs.

I have some excellent Pascal code (easily converted to a D2 DLL) that uses
arrays as variable parameters in many procedures.  I would like to be able to
call them from a VB app.

I have had much success figuring out how to call Delphi DLLs from VB when the
parameters involved are but chars, strings or numbers (floats and ints).  
Haven't been able to sort out the array issue.

Any guidance would make my day.



Leslie Wright M.D.
PGY-4 Resident, Dept. of Psychiatry, Queen's University
Kingston, Ontario, Canada
E-mail: OR

"Great spirits will always encounter {*word*268} opposition from mediocre minds."
                                        --Albert Einstein