Re: [MacPerl-Toolbox] unknown Mac::Sound error

[email protected] (Chris Nandor) Wed, 26 Mar 2003 07:22:24 -0500
Newsgroups perl.macperl.toolbox
Message-ID <p05200f0cbaa74bc0d11c@[10.0.1.104]>
At 02:04 -0800 2003.03.26, Nicholas G. Thornton wrote:
>Hello, I'm a newbie to the mac toolbox but I figured I'd jump right in. I'm
>trying to use Mac::Sound::SndStartFilePlay() but I get an error:# OS error -51
>(Error message file not available). What does it mean, and how can I fix it?

-51 is refnum error.

I've never used this API from MacPerl though, so I am not sure what to do,
but as noted in the other email, try fileno() on the filehandle after
opening it.  You never know.  :)

-- 
Chris Nandor                      [email protected]    http://pudge.net/
Open Source Development Network    [email protected]     http://osdn.com/