Visual C++ for Alpha and PowerPC is designed to be portable between both RISC platforms and Intel platforms. MFC is designed to make C++ code universal on all these platforms, and applications should port easily.
If you have the RISC cross-development package installed, you can convert Intel-based projects to RISC-based projects and vice versa automatically. You can also open any project in the development environment on any platform and change the build settings, but you cannot build a project created on one platform in the development environment on another platform without converting it first.
To convert RISC projects to Intel-based projects
The Open Project Workspace dialog box opens.
The Configurations dialog box appears. Notice that the RISC configuration projects are listed, but are unavailable.
The Add Project Configuration dialog box appears.
This will be the name of your Intel version of the project.
An Intel-based project with the same build settings as your RISC-based project is automatically created.
To convert Intel-based projects to RISC projects
The Open Project Workspace dialog box opens.
The Configurations dialog box appears. Notice that the Intel-based configuration projects are listed, but are unavailable.
The Add Project Configuration dialog box appears.
A RISC-based project with the same build settings as your Intel-based project is automatically created.
RISC platforms expect data to be laid out in 32-bit parcels. If you try to extract data from the middle of a 32-bit parcel, you get an alignment fault. Handle this by:
See Knowledge Base article Q92762. (Connect to http://www.microsoft.com/kb/ to access Knowledge Base articles. Choose Visual C++ in the Choose a Microsoft product or technology drop-down list. Enter the article number in the Enter a Search Phrase text box, then click Begin Search.)