【发布时间】:2011-12-22 00:47:21
【问题描述】:
Delphi XE2 Update 3 IDE 编译工程成功,但 dcc32.exe 写道:
Embarcadero Delphi for Win32 compiler version 22.0
Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
ehshelprouter.pas(137) Error: E2010 Incompatible types: 'Integer' and 'NativeInt'
ehs_reg.pas(68) Fatal: F2063 Could not compile used unit 'ehshelprouter.pas'
为什么?第 137 行是:
Application.OnHelp := OnRouteHelp; // function OnRouteHelp(Command: Word; Data: NativeInt; var CallHelp: Boolean): Boolean;
感谢您的帮助!
【问题讨论】:
-
ehshelprouter.pas 第 137 行的代码实际上是什么样的?
-
显示代码!!我打赌 TControl.Tag 参与其中。
标签: delphi compiler-errors delphi-xe2 dcc32