Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page >

QuickTimeコンポーネント

Component Managerは、ファイルのアーキテクチャではなく、コンポーネントの'thng'リソースを見て、コンポーネントがサポートしているアーキテクチャを認識します。'thng'リソースには、適切なアーキテクチャを指定する必要があります。これを行うには、.rファイル内の、'thng'リソースを定義している場所で、ComponentPlatformInfo配列を次のように変更します。

#if defined(__ppc__)
kMyComponentFlags, kMyCodeType, kMyCodeID, platformPowerPCNativeEntryPoint,
#endif
#if defined(__i386__)
kMyComponentFlags, kMyCodeType, kMyCodeID, platformIA32NativeEntryPoint,
#endif

ここでコンポーネントを再ビルドします。詳細については、「Universal Binaryのビルド」を参照してください。



< Previous PageNext Page >


Last updated: 2006-03-08




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice