本文介绍了惠普自定义OEM Windows上的Delphi平台错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在设置计算机时始终遇到相同的错误,因此它将运行Delphi,我已经在 PLATFORM 环境变量上设置了用户覆盖,以对其进行转换到win32,但仍然出现相同的错误;

I keep getting the same error setting up my computer so it will run Delp I've already set up a user override on the PLATFORM environment variable, to convert it to win32 but it's still giving the same error;

谁能解释为什么这样做以及如何解决该错误?
我在大学里的Delphi XE2工作并且现在正在使用Delphi XE3的事实可能会影响到这一点

Can anyone explain why it's doing this and how to fix the error?The fact that I was working in Delphi XE2 in college and I'm using Delphi XE3 now may affect this

推荐答案

您可能正在使用HP计算机。它们预先配置了 PLATFORM 环境变量。

You're probably using an HP computer. They come pre-configured with a PLATFORM environmental variable.

较新的XPlatform版本的Delphi使用 PLATFORM 变量来跟踪目标版本的用途( WIN32 WIN64 ANDROID iOSSimulator iOSDevice OSX32 )。由于已经有一个,因此它正在尝试使用它,但无法弄清楚该目标 HPD 的用途。

The newer XPlatform versions of Delphi use the PLATFORM variable to track what the target build is for (WIN32, WIN64, ANDROID, iOSSimulator, iOSDevice,or OSX32). Since there's already one there, it's trying to use it, but can't figure out what to do with a target of HPD.

为所有项目修复此问题的最简单方法是进入计算机的设置(右键单击桌面或开始菜单上的我的电脑属性->高级系统设置->环境变量 ,只需删除 PLATFORM 变量即可。(惠普似乎将其用于任何用途,我已经在六台没有不良影响的计算机上完成了此操作。)

The easiest way to fix this for all your projects is to go into your computer's settings (right-click My Computer on the desktop or Start Menu, Properties->Advanced System Settings->Environmental Variables, and just delete the PLATFORM variable. (HP doesn't seem to use it for anything, and I've done this on half a dozen computers with no ill effects.)

这篇关于惠普自定义OEM Windows上的Delphi平台错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-25 07:06