Posted: Tue Dec 10, 2002 6:04 pm
Restored from previous forum. Originally posted by Froggerprogger.
I've got the following problem:
A function creates an array with 500 elements and returns a pointer to it.
[here: harray = FSOUND_DSP_GetSpectrum()]
How can I get the values into my own array to work on with them now?
I declared my array with DIM Array.f(500).
I tried it with CopyMemory()in all varieties, but without having a bit of an idea, so I think a good hint might be better than trying out a lot of stuff!!
Purebasic - what a nice name for a girl-friend
I've got the following problem:
A function creates an array with 500 elements and returns a pointer to it.
[here: harray = FSOUND_DSP_GetSpectrum()]
How can I get the values into my own array to work on with them now?
I declared my array with DIM Array.f(500).
I tried it with CopyMemory()in all varieties, but without having a bit of an idea, so I think a good hint might be better than trying out a lot of stuff!!
Purebasic - what a nice name for a girl-friend