Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cica!iuvax!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!cs290ac From: cs290ac@ux1.cso.uiuc.edu Newsgroups: comp.sys.mac.programmer Subject: Re: SndNewChannel crashes my program! Message-ID: <18300012@ux1.cso.uiuc.edu> Date: 13 Feb 90 05:33:00 GMT References: <7605@tank.uchicago.edu> Lines: 13 Nf-ID: #R:tank.uchicago.edu:7605:ux1.cso.uiuc.edu:18300012:000:538 Nf-From: ux1.cso.uiuc.edu!cs290ac Feb 12 23:33:00 1990 well, this might not be quite right, but here's what I think... When you pass pointers as variables, I don't think you need the &. This would pass a pointer to the pointer, and I think they just want the pointer. If the routine is expecting a pointer and gets a handle (when you pass it &pointer), it would screw everything up and you'd be likely to get an odd adress error (well, 50% likely anyways). If this is the case, your error would've come up before playing the sound (which would never play). hope that's the bug.. -Ron Smith