在Delphi 10.2中安装ImageEN 5.2

找到ie.inc文件,在其中添加下述编译开关,先打开并编译PKIECtrlxx.dpk,然后再安装DKPIECtrlxx.dpk即可。

// Delphi 10.2 Tokyo
{$ifdef VER320}
  {$define Delphi5orNewer}
  {$define Delphi6orNewer}
  {$define Delphi7orNewer}
  {$define Delphi2005orNewer}
  {$define Delphi2006orNewer}
  {$define Delphi2007orNewer}
  {$define Delphi2009orNewer}
  {$define Delphi2010orNewer}
  {$define DelphiXEorNewer}
  {$define DelphiXE2orNewer}
  {$define DelphiXE3orNewer}
  {$define DelphiXE4orNewer}
  {$define DelphiXE5orNewer}
  {$define DelphiXE6orNewer}
  {$define DelphiXE7orNewer}
  {$define DelphiXE8orNewer}
  {$define Delphi10orNewer}
  {$define Delphi10_1orNewer}
  {$define IEFIXPREVIEWS}
  {$define IEFIXUPDATE}
  {$define IEFIXOSDIALOGS}
  {$define IESUPPORTDEFPARAMS}
  {$define IESUPPORTANCHORS}
  {$define IEMOUSEWHEELEVENTS}
  {$define IEHASINT64}
  {$define IEHASUINT64}
  {$define IEHASNATIVEINT}
  {$define IEINCLUDEFLATSB}     // Use FlatSB unit
  {$define IESUPPORTINLINE}
  {$define IESUPPORTOVERLOAD}
  {$define IENEWVARIANTS}
  {$define IEHASFREEANDNIL}
  {$define IEMMXSUPPORTED}
  {$define IEHASTTHREADSTATICSYNCHRONIZE}
  {$define IEHASTTHREADSTART}
  {$define IEHASCONSTENUM}
  {$define IEHASAFTERCONSTRUCTION}
  {$define IEHASACTIVEFORMHANDLE}
  {$define IEHASTYPES}
  {$define IEHASUITYPES}
  {$define IESUPPORTDEPRECATED}
  {$define IESUPPORTINTERFACESUPPORT}
  {$define IEHASFORMATSETTINGS}
  {$define IEHASFOCUSSTATE}
  {$define IEHASOPENOPTIONSEX}
  {$define IEHASNEEDSBORDERPAINT}
  {$define IEHASPARENTBACKGROUND}
  {$define IEUSENEWSENDMESSAGETIMEOUT}
  {$define IEUSEDESIGNINTF}
  {$define IEUSEFILTEDIT}
  {$define IEREGISTERPROPERTYEDITOR}
  {$define IEUSEASM}
  {$define IEVISION}
  {$define IEHASPOSEX}
  {$define IEHASSTRUTILS}
  {$define IEHASRECORDASCLASSES}
  {$define IEHASUNICODEWARNS}
  {$define IEUSEVCLZLIB}
  {$define IEHASTOUCH}
  {$define IEHASPLATFORMATTRIBUTE}
  {$define IEHASONGESTURE}
  {$define IEHASUTF8ENCODEDECODE}

  {$WARN SYMBOL_PLATFORM OFF}
  {$WARN UNIT_PLATFORM OFF}
{$endif}

你可能感兴趣的:(Delphi,/,Lazarus)