October 28, 2016
Hot Topics:

Multiple Platforms in VC++ 5.0 Professional

  • August 8, 1998
  • By Matthew Ellis
  • Send Email »
  • More Articles »

Download .reg file

By default, Visual C++ 5.0 Professional (I don't know about other versions) only displays "Win32" as the possible target platform. If you need to port projects to (for example) an NT Alpha machine, you either have to recreate your dsp files or edit them, and know exactly what to change. Take it from me, neither is a very interesting or pleasant job to do on a large project. An easier way, however, is to set the following in the registry (.reg file included as attachment):
[HKEY_CURRENT_USER\Software\Microsoft\DevStudio\5.0\Build System]

"Full Platforms"=dword:00000001

Now, when creating a new project, the list of platforms is Win32, Win32 (ALPHA) and Win32 (PowerPC) The project will be created with configurations for all platforms selected. If you wish to create configurations for already existing projects, load the project into Visual Studio, and select Configurations (default is under the Build menu) select the project you wish to create a new configuration for and select "Add...". Change the configuration name (Debug and Release are the defaults - don't worry if you already have a Debug and Release configuration, the name will be changed to include the platform) and select the configuration you wish to copy (if you want to create an Debug Alpha configuration, leave the name as Debug and select the Win32 Debug configuration from the drop down list) Now select the platform. When you click OK, you will get a new configuration with the name altered to list the new platform (eg "Win32 (ALPHA) Debug")

Note that this only allows you to create configurations for other platforms. It doesn't allow cross-platform compiling.

Last updated: 11 April 1998

Comment and Contribute


(Maximum characters: 1200). You have characters left.



Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Sitemap | Contact Us

Thanks for your registration, follow us on our social networks to keep up-to-date
Rocket Fuel