А уменя пример нехочет работать
Build start...
Generated code
Create project...
Command line: dcc32.exe "C:\Program Files\HiAsm165\Elements\delphi\code\Test_All_Img_Draw.dpr" "-U C:\Downloads\Новая папка\." -Q
Borland Delphi Version 12.0 Copyright (c) 1983,98 Inprise Corporation
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(59) Error: Undeclared identifier: 'TScale'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(75) Error: Undeclared identifier: 'PColor'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(75) Error: Pointer type required
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(76) Error: Pointer type required
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(78) Error: Pointer type required
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(79) Error: Pointer type required
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(284) Error: ')' expected but identifier 'x' found
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(284) Error: 'END' expected but ')' found
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(292) Error: '.' expected but ';' found
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(304) Error: Undeclared identifier: 'ImgGetDC'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(306) Error: Undeclared identifier: 'ReadXY'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(307) Error: Undeclared identifier: 'ImgNewSizeDC'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(309) Error: Undeclared identifier: 'fDrawSource'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(310) Error: Undeclared identifier: 'dcHandle'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(311) Error: Undeclared identifier: 'dcBitmap'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(311) Error: Undeclared identifier: 'pDC'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(311) Error: Undeclared identifier: 'oldx1'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(311) Error: Undeclared identifier: 'SingleScale'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(312) Error: Undeclared identifier: 'dcContext'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(314) Error: Undeclared identifier: 'newwh'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(317) Error: Undeclared identifier: 'fScale'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(318) Error: Undeclared identifier: 'x1'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(324) Error: Undeclared identifier: 'ImgReleaseDC'
C:\Program Files\HiAsm165\Elements\delphi\code\Test_All_Img_Draw.dpr(34) Fatal: Could not compile used unit 'hiImg_Gradient.pas'
End build
Generated code
Create project...
Command line: dcc32.exe "C:\Program Files\HiAsm165\Elements\delphi\code\Test_All_Img_Draw.dpr" "-U C:\Downloads\Новая папка\." -Q
Borland Delphi Version 12.0 Copyright (c) 1983,98 Inprise Corporation
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(59) Error: Undeclared identifier: 'TScale'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(75) Error: Undeclared identifier: 'PColor'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(75) Error: Pointer type required
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(76) Error: Pointer type required
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(78) Error: Pointer type required
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(79) Error: Pointer type required
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(284) Error: ')' expected but identifier 'x' found
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(284) Error: 'END' expected but ')' found
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(292) Error: '.' expected but ';' found
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(304) Error: Undeclared identifier: 'ImgGetDC'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(306) Error: Undeclared identifier: 'ReadXY'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(307) Error: Undeclared identifier: 'ImgNewSizeDC'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(309) Error: Undeclared identifier: 'fDrawSource'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(310) Error: Undeclared identifier: 'dcHandle'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(311) Error: Undeclared identifier: 'dcBitmap'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(311) Error: Undeclared identifier: 'pDC'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(311) Error: Undeclared identifier: 'oldx1'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(311) Error: Undeclared identifier: 'SingleScale'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(312) Error: Undeclared identifier: 'dcContext'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(314) Error: Undeclared identifier: 'newwh'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(317) Error: Undeclared identifier: 'fScale'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(318) Error: Undeclared identifier: 'x1'
C:\Program Files\HiAsm165\Elements\delphi\code\hiImg_Gradient.pas(324) Error: Undeclared identifier: 'ImgReleaseDC'
C:\Program Files\HiAsm165\Elements\delphi\code\Test_All_Img_Draw.dpr(34) Fatal: Could not compile used unit 'hiImg_Gradient.pas'
End build