You have to call the procedure passing the address of the array descriptor, as in...
Code:
DIM pDescriptor AS DWORD pDescriptor = VARPTR32 (array()) FUNCTION PlayWithArray (BYVAL dAddr AS DWORD) ' use ArrayInfo& here to get the type of data in the array. END FUNCTION
(It is also not available in PB/Windows, a real shame)
If you need a more complete sample, let me know. I have some code I will send you or if I'm in a good mood I'll post it in the source code forum.
------------------
Michael Mattias
Racine WI USA
[email protected]
Leave a comment: