Multiple Platforms in VC++ 5.0 Professional

.

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



Comments

  • Cross compile error support??

    Posted by Legacy on 06/10/1999 12:00am

    Originally posted by: Andrew Dennison

    I'm using VC 5.0 for both windows and embedded projects, with a custom make file for the cross compiler. What I was wondering was: is there a way (VB script?) to interpret the error message strings from a non-ms compiler to allow jumping to the line of code that caused the error??

    Reply
  • Really different platforms

    Posted by Legacy on 11/30/1998 12:00am

    Originally posted by: Filip Dossche

    Hi,

    I am terrible at typing so once I get used to a particular development environment I like to stick with it. It being necessary for me to write both PC programs (using Visual C++) and lots of embedded controller programs in C I wanted to use the developer studio to develop on both platforms. (Visual C++ and IAR (ARCHIMEDES) 8051 based compiler). Although not immediately obvious it can be done:

    The 8051 compiler is DOS based so I simply wrote some plain-vanilla DOS batch files and linked those to Developer studio tools. To those batch files I pass all the important parameters such as file name etc..... I also used the NMAKE utility delivered with the Developer studio to run project builds etc...
    Although this method may seem be a bit crude it sure does work a treat. I am now capable of compile, assemble, link and all other associated stuff from within the developer studio while making use of all the sophisticated project browsing features of developer studio. It has really lifted developing 8051 based applications using the old DOS compiler to an entirely new level.

    Reply
  • Full Versions

    Posted by Legacy on 11/10/1998 12:00am

    Originally posted by: Rich Peters

    It works for VC6 also, just change the 5.0 to a 6.0

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: August 13, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT If you are developing applications, you'll want to join us to learn how applications are changing as a result of gesture recognition. This technology will change how you and your users interact - not simply with your devices, but with the world around you. Your devices will be able to see and hear what your users are doing. Are your applications ready for this? Join us to learn about Intel® RealSense™ Technology, including never been …

  • Live Event Date: July 30, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT You may already know about some of the benefits of Bluemix, IBM's open platform for developing and deploying mobile and web applications. Check out this upcoming eSeminar that focuses on building an Android application using the MobileData service, with a walk-through of the real process and workflow used to build and link the MobileData service within your application. Join IBM's subject matter experts as they show you the way to build a base …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds