[futurebasic] Re: [FB] Toolbox Placement (again)

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2003 : Group Archive : Group : All Groups

From: "H. Gluender" <h@...>
Date: Sun, 20 Apr 2003 12:35:03 +0200
Dear Robert,

before sending my message and according to the header info I tested
the following:

LIBRARY "QuickTimeLib"
TOOLBOX FN GraphicsExportSetDepth( GraphicsExportComponent, long ) =
ComponentResult
TOOLBOX FN MovieExportDoUserDialog( MovieExportComponent, Movie,
Track, TimeValue, ¬
           TimeValue, @Boolean ) = ComponentResult
TOOLBOX SetMovieProgressProc( Movie, MovieProgressUPP, long )
LIBRARY

Works for me with Carbon compilation.

(BTW I don't fully agree with some of the relevant #DEFINEs in the FB
Includes. Maybe they work, but they don't comply with what Apple says
in its headers.)

Best,

Herbie

PS: Interestingly, in your reply you've deleted the important part of
Apple's header info, namely "QuickTimeLib".


>On Saturday, April 19, 2003, at 06:16  AM, H. Gluender wrote:
>
>>Dear Robert,
>>
>>although I don't fully understand your problem, here is what I've found:
>>
>>/*
>>  *  GraphicsExportSetDepth()
>>
>>Taken from Apple's Header File: ImageCompression.h; Technology: QuickTime 5.5
>>
>
>
>>  QuickTimeComponents.h; Technology: QuickTime 5.5
>>
>
>
>>SetMovieProgressProc(
>>   Movie              theMovie,
>>   MovieProgressUPP   p,
>>   long               refcon)
>>THREEWORDINLINE(0x303C, 0x019A, 0xAAAA);
>>
>>Taken from Apple's Header File: Movies.h; Technology: QuickTime 5.5
>>
>
>Thanks for the post.
>
>...I don't need the calls...they already exist, and work fine,
>except when compiling for Carbon. I just need to know the correct
>library I should place them in there.
>
>They work in "QuicktimeLib" for standard, but not in Carbon, as
>Carbon wants them in a different library.
>
>as in
>
>#IF CarbonLib
>Library "What Do I need"
>#ELSE // Standard
>Library "QuickTimeLib"
>#END IF
>SetMovieProgressProc
>GraphicsExportSetDepth
>MovieExportDoUserDialog Library
>Library
>
>Robert