首页 > 解决方案 > 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?

标签: delphiide

解决方案


推荐阅读