If WinTypes and WinProcs units are absent in Delphi

Alias to the project: WinProcs=Windows WinTypes=Windows
WinTypes and WinProcs units are absent in Delphi 2009 and higher
WinTypes.pas and WinProcs.pas has been replaced with Windows.pas.
First solution to add an alias to the project: WinProcs=Windows, and WinTypes=Windows.
Second solution is to use conditional compilation directives for various Delphi versions {$IF CompilerVersion >= 20.0} // Delphi 2009 and higher Windows, {$ELSE} WinTypes, WinProcs, {$IFEND}
Remaking old components for Delphi
Переделывая старые компоненты для Delphi

No comments:

Post a Comment