I was passing the I/O driver the addresses of the array pointers,
not the addresses of the arrays themselves. Using BYVAL VARPTR(array(0))
instead of VARPTR(array(0)) did the trick.
As a lame defense of this "oversight" I'll add that I was porting
the function declares and function stubs from a VB file to PB
format. Yes, that's it, I'll blame the sometimes-bizarre VB-to-DLL
calling convention...

------------------
Mark Newman
Leave a comment: