Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 08-11-2012, 01:45 PM
larshgf larshgf is offline
Senior Member
 
Join Date: Jan 2001
Posts: 197
Default Delphi XE2 - How to change the platform?

Hi,

Just downloaded demo version of Delphi XE2. I'm not able to run the sample programs in this version. I found this in the release notes:

The Problem of Invalid Platform

If your system has an unknown platform value set (for example, as a preset system variable %Platform%), the following error message is displayed:

Invalid PLATFORM variable "(value)". PLATFORM must be one of the following: "Win32", "Win64", or "OSX32".

If PLATFORM is defined by your system's environment, it must be overridden in the RAD Studio IDE or passed explicitly on the command line to MSBuild; for example, /p:Platform=Win32.


Does anybody know how I override the definition of the Platform in RAD Studio's IDE?

BR
Lars
Reply With Quote
  #2  
Old 08-16-2012, 06:38 PM
emailx45 emailx45 is offline
Junior Member
 
Join Date: May 2012
Posts: 18
Default

Dear Lars,

BE Clear, for one answer more Clear!

System Operating: ?? (Windows, Linux, OS....)

In my case: Windows 7 Ultimate
  1. Select Computer from the Start menu
  2. Choose System Properties from the context menu
  3. Click Advanced system settings > Advanced tab
  4. Click on Environment Variables, under System Variables, find PLATFORM, and click on it.
  5. In the Edit windows, modify PLATFORM
Reply With Quote
  #3  
Old 08-17-2012, 06:52 AM
larshgf larshgf is offline
Senior Member
 
Join Date: Jan 2001
Posts: 197
Default

Thank you - your answer solved my problem!
Reply With Quote
  #4  
Old 08-17-2012, 06:27 PM
emailx45 emailx45 is offline
Junior Member
 
Join Date: May 2012
Posts: 18
Default

Quote:
Originally Posted by larshgf View Post
Thank you - your answer solved my problem!

NOT ITS PROBLEM
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 04:27 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.