[futurebasic] Re: [FB] Cross Channel Problems

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2002 : Group Archive : Group : All Groups

From: Ian Mann <i.mann@...>
Date: Fri, 18 Oct 2002 15:18:36 +0100
Robert Covington wrote:

>
> No apologies needed.

Hmm, I think that means "We agree you are mentally decrepit, but over the
years have come to be mildly amused by your failings..."

> Here is what I suspect is your problem. You need to
> include your call into the appropriate library, in this case "Quicktime
> Lib". The crash after the record being correct reminded me of the old
> Quicktime music example I suffered same with.
>
> Add this like so (or delete the Carbon part if you don't need that):
> #if carbonlib
> LIBRARY "Apple;Carbon;Multimedia"
> #else
> LIBRARY "QuickTimeLib"
> #endif
>
> toolbox fn SGNewChannel (ComponentInstance,OSType,@Long) = ComponentResult
> Library
>
> end globals
>
> I got result of 0 then, I presume SGChannel has the goodies.
>
>

Spot On Covington - what's irritating is I have made this same mistake before.

Oh well I suppose I had better be mildly amused.

Many thanks for unsnaggling me

Ian