Chris could well be right about this as far as Perl goes, but I am
fairly sure a FSSpec is not a string in the usual C Mac Toolbox - it
is a structure. You may need to convert the file path to a FSSpec
record and pass this (see Help in Perl-> Mac Toolbox -> File). And,
if you want some help with all this, and again I could be mistaken,
but a brief look seemed to indicate that what is implemented in Perl
are the usual calls: Go to www.apple.com and take a look at the
QuickTime Toolbox documentation (I think it is under the Developer
tab - there is C source code there also) to get a feel for how you
would do it in Perl. Your program looks quite a bit like the usual C
implementation.
Ed Wall
At 9:44 PM -0800 3/25/03, Nicholas G. Thornton wrote:
> It means the file path isn't correct, basically. Doublecheck it.
M'k. For future reference is fileSpec just a string with a file pathname in it
(as I thought)?
Now I get a different set of errors, and inconsistently. Namely the
file doesn't
play, sometimes something is printed out to the error screen
sometimes not, but
either way MacPerl then quits and the Classic emulator crashes (needs to be
Force Quit.)
~wren