> This is just an example. But every thing works fine if i use + instead of *
Just a guess. Some compilers use support routines to implement multiplications. If your callback and this support routine are not located in the same segment, the generated code will have an implicit reference to the global variable that holds the address of each segments. Unfortunately, a sound callback being called from another task, your data segment is not properly set up. Pascal -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
