Erick, Thank you very much for clearing that up. This info will definitely be very helpful for me.

Meanwhile I found the solution for my "RBPlugin129 - no UB component" - problem: After trying to isolate the problem for several hours, I gave up and copied everything to my iBook. You can imagine my surprise when the same project (using the same plugins) compiled just fine on that other machine.

Solution: The Precompiled Plugins were corrupt.
Deleting Library/Caches/RealBasic 2006/Precompiled Plugins/ and simply letting them re-precompile did the trick.

Thanks for your answers!
Mike


Am 26.10.2006 um 12:42 schrieb E. Tejkowski:


On Oct 25, 2006, at 3:16 AM, Michael Gerbes wrote:

I have the same problem and I'm not quite sure, what to do.

Should I delete all the QT calls ? (Unfortunately I need all of them...)

Or isolate them with #if target 's, like this ?
  #if TargetMachO then
declare function SetMediaTimeScale Lib "QuickTime" (media as integer, timescale as integer) as integer
  #elseif TargetX86 then
declare function SetMediaTimeScale Lib "QuickTime" (media as integer, timescale as integer) as integer
  #endif

Is QuickTime the correct Lib Name for TargetX86 ?

I'm trying to compile my project to a UB. Thanks for your answers.

Targetx86 MachO uses the same framework as TargetPPC MachO, which is located in the same place on both systems. There is no need to isolate the calls, nor is there any need for the "Soft" declare. I would recommend the following:

(1) Create a global constant, name it QuickTimeLib (name can be anything really; this is just what I use; notice, NO quotes on QuickTimeLib)

(2) To the constant add targets for everything you care about (which could be everything except Linux)

Mac Mach-O : /System/Library/Frameworks/QuickTime.framework/QuickTime
Mac Carbon PEF : Apple;Carbon;Multimedia
Windows : qtmlClient.dll
Mac Classic : QuickTimeLib

(3) Use one declare and have it work on all platforms. :-)

Declare Function SetMediaTimeScale Lib QuickTimeLib (media and integer, timescale as integer) as integer

(again, notice, NO quotes on QuickTimeLib)

HTH,
Erick
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to