delphi - Can $Platform variable be modified in Delphi IDE
问题描述
I'm running Delphi 10.4.1. The $Platform
environment variable in my project appears to have been corrupted, as now the output application file in Win32/Debug is replaced whether I rebuild the 32-bit version or the 64-bit version of my project. Additionally, TPath.GetLibraryPath()
now returns ...\Win32\Debug
in both the Win32 and Win64 versions of my project. This wasn't always the case. There is a Win64\Debug
directory in my project folder that was modified yesterday.
I have not found a place to edit the value of $Platform
in either the Delphi Global Options or the Project Options. A few StackOverflow posts suggest I will have to edit the .dproj
file directly. This seems risky, and I want to be sure there isn't a better way before I try it.
Can someone tell me how to fix this, and perhaps shed some light on how it might have happened?
解决方案
推荐阅读
- hibernate - 将 Spring Data JPA 与 GCP Spanner 集成
- angular - 角度 rxjs mergeMap/flatMap 而不是多个管道/订阅
- javascript - 在 React 的父组件中触发操作时获取子状态
- oracle - 如何使用 oracle pl/sql 在 for 循环中设置变量
- c# - Linq - Linq 表达式不同的上下文错误
- ios - 在 AppStore 上发布时对 IOS 有什么限制吗?App 100% 基于 HTML 页面来自serve
- javascript - 每个间隔后的总和值
- powershell - 我想循环这个数组并按数组插入值数组
- javascript - 使用 JavaScript 在某个位置上获取元素的背景颜色
- c - 在 C 中打印指针的值时出错