On Sun, 16 Nov 2003 10:22:45 munroel writes: >I have tried passing a chunk created by >MemPtrNew, as the UserData68KP parameter, and returning my samples in this >pointer. This work ok, but there are some discontinuities that I am trying to >get rid of. I tried to address this by passing a structure as the UserData68KP >argument, but this crashes the simulator everytime.
The answer to your question in in the Palm pno-forum mailing list archives: http://www.escribe.com/computing/poaf/index.html The 4-byte alignment question should be in an FAQ. You can pass a structure as the PceNativeCall UserData68KP parameter, as long as it's inside a chunk created by MemPtrNew, and not just a stack local or global variable, unless your 68k compiler can guarantee 4-byte alignment (many can't). Ron Nicholson HotPaw Productions http://www.hotpaw.com/rhn/palm -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
