FWIW, you can save your pointer in a feature, but it would be much
more efficient to have it passed as a user pointer in the sound
callback.

It sounds like you acquired the pointer in the callback via a safe
method, but stored it in a global variable (which will crash). Without
globals, use only auto (stack based) variables, or those referenced
via your user pointer.

Also, depending on your app model (small/smart/large), you may require
the app A4/A5 to access runtime code (long math and switch), so a
thunk (saves and restores context) may be necessary.

On 8/22/06, Donald C. Kirker <[EMAIL PROTECTED]> wrote:
When i say get the pointer, I mean from FtrGet.

And, no, my application will always be running when this happens. I will be 
adding some safe guards to close the thread and end the process when the app is 
closed.
--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/



--
yisdersomenimororsisasisdenderisorsis?
Jeff Loucks

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to