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: September 10, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Modern mobile applications connect systems-of-engagement (mobile apps) with systems-of-record (traditional IT) to deliver new and innovative business value. But the lifecycle for development of mobile apps is also new and different. Emerging trends in mobile development call for faster delivery of incremental features, coupled with feedback from the users of the app "in the wild". This loop of continuous delivery and continuous feedback is …

  • Live Event Date: September 16, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you starting an on-premise-to-cloud data migration project? Have you thought about how much space you might need for your online platform or how to handle data that might be related to users who no longer exist? If these questions or any other concerns have been plaguing you about your migration project, check out this eSeminar. Join our speakers Betsy Bilhorn, VP, Product Management at Scribe, Mike Virnig, PowerSucess Manager and Michele …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds