HOWTO: Build "FAT" Macintosh ApplicationsLast reviewed: October 6, 1997 |
The information in this article applies to:
SUMMARYThis article describes how to create "fat" Macintosh applications. Most commercial Macintosh applications on the market today are available in "fat" versions. A "fat" application includes both 68K and PowerPC code so it can run on either platform. MORE INFORMATIONThe process of creating a "fat" application consists of building a Power Macintosh application and a 68K application and then merging the CODE resources from the 68K build into the Power Macintosh application. The merging can be done with ResEdit. To build a "fat" version of your program that will run optimized on both 68K and Power Macintoshes, do the following:
Additionally, the SIZE resource contains information regarding the size of the application memory partition. The optimal memory partition size often varies between the Power Macintosh and the 68K Macintoshes. After copying the resources from the 68K application, edit the SIZE resource in ResEdit to a memory partition size that works well on both the 68K and Power Macintosh. "Fat" applications may require significantly more disk space. You now have a "fat" application. This assumes that you have the same menus, windows, dialogs, and other resources for both versions of the program and that the two targets are both in the same Visual C++ project. REFERENCESMost of the contents of this article is duplicated in the Online Documentation under "README for Microsoft Visual C++ Version 4.0" heading. It can also be found in the VCREAD.WRI file under the MSDEV directory.Keywords : MacPrgIss VCMac Version : WINNT:4.0;MAC:4.0; Platform : MACINTOSH NT WINDOWS Issue type : kbhowto |
================================================================================ |
Last reviewed: October 6, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.