[英]delphi does not find graphicsd dcu using FM firemonkey framework
I also suffered the problem given already her Graphics.dcu issue . 考虑到她的Graphics.dcu问题,我也遇到了问题。 My unit statement goes like this
我的单位陈述像这样
uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Math,
But I have a different issue. 但是我有一个不同的问题。 Using VCL framework I got no problem, the failure only occurs while using Firemonkey framework with my units.
使用VCL框架我没有问题,仅在将Firemonkey框架与我的单元一起使用时才会发生故障。
OS = WIN 7 Prof. Delphi XE2 Update 4 操作系统= WIN 7 Delphi XE2 Update 4教授
A few things: 一些东西:
FMX.Types
(all versions), FMX.Controls
(XE4+, though it existed previously), FMX.Forms
(all versions) and FMX.Graphics
(XE5+). FMX.Types
(所有版本), FMX.Controls
(XE4 +,虽然以前存在), FMX.Forms
(所有版本)和FMX.Graphics
(XE5 +)。 FMX.Forms
not just Forms
. FMX.Forms
而不是Forms
。 Math
(the lack of Variants
suggests pre-D6!). Math
(缺少Variants
表示D6之前的版本!)。 In practice it is better to only use the units you are actually using symbols from. Windows
and Messages
, then you will have issues cross compiling the code with FMX (FMX controls typically don't have an HWND
, and the FMX TForm
doesn't support the VCL variant's nifty message handling syntax). Windows
和Messages
,则将遇到与FMX交叉编译代码的问题(FMX控件通常没有HWND
,并且FMX TForm
不支持VCL变体的漂亮消息处理语法)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.