1. 程式人生 > >在Delphi 10.2中安裝ImageEN 5.2

在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}