> > This is just an example. But every thing works fine if i use + 
> > instead of *
> 
> I have the same result with :
> 
> Err 
> sndCallback(void* UserDataP, SndStreamRef stream, 
>             void* bufferP, UInt32 frameCount) 
> {
> 
>  int a = 5;
>  int b = 8;
>  int l = a * b;
> 
>  return errNone;
> }

check your linking settings - by default, 'int' is an int32 - 
and, there will be a multiply function required for it to happen.
if you dont link in libc - it'll be missing that function, and crash :P

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]

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

Reply via email to