|
|
Log In | Not a Member? |
Contact ADC |
| < Previous PageNext Page > |
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
|
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 |