Вверх ↑
Ответов: 39
Рейтинг: 0
#1: 2021-01-20 22:33:05 ЛС | профиль | цитата
При использовании компонента

Add(PNG,4682955,826,364)
{
Point(doLoadFromStream)
Point(doBitmap)
Point(FileName)
}


выдает такие ошибки


E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(64) Error: '(' expected but ';' found

E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(65) Error: Constant expression expected

E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(65) Error: '(' expected but ';' found

E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(72) Error: Constant expression expected

E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(2515) Error: Left side cannot be assigned to

E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(3364) Error: Left side cannot be assigned to

E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(4247) Error: Left side cannot be assigned to

E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(4268) Error: Left side cannot be assigned to

E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(4269) Error: Left side cannot be assigned to

E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(4270) Error: Left side cannot be assigned to

E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(4289) Error: Left side cannot be assigned to

E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(4290) Error: Left side cannot be assigned to

E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(4291) Error: Left side cannot be assigned to

E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(4334) Error: Left side cannot be assigned to

E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(4335) Error: Left side cannot be assigned to

E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(4741) Error: Left side cannot be assigned to

E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLPng.pas(4749) Error: Left side cannot be assigned to

E:\SoftWare\HiAsm_new\Elements\delphi\code\hiPNG.pas(5) Fatal: Could not compile used unit 'KOLPng.pas'
Сборка завершена.


--- Добавлено в 2021-01-20 22:41:42

Так же


Compiling E:\SoftWare\HiAsm_new\Elements\delphi\code\KOLSHDocVw.pas
KOLSHDocVw.pas(48,11) Fatal: Can't find unit ActiveKOL used by KOLSHDocVW

Спасибо заранее)

--- Добавлено в 2021-01-20 22:42:39


Compiling err.pas
err.pas(479,3) Error: Identifier not found "EnumResourceModules"
err.pas(479,51) Error: Illegal expression
err.pas(504,13) Error: Identifier not found "Format"
err.pas(545,14) Error: Identifier not found "FindResourceHInstance"
err.pas(546,20) Error: Variable identifier expected
err.pas(549,27) Error: Identifier not found "Format"
err.pas(598,15) Error: Identifier not found "Format"
err.pas(632,15) Error: Identifier not found "Format"
err.pas(639,15) Error: Identifier not found "Format"
err.pas(777,17) Error: Unknown identifier "SYSTEM.RAISEEXCEPT"
err.pas(777,17) Error: Asm: [jmp ???] invalid combination of opcode and operands
err.pas(922,73) Warning: Procedure type "FAR" ignored
err.pas(942,3) Error: Identifier not found "ExceptionClass"
err.pas(944,3) Error: Identifier not found "ExceptClsProc"
err.pas(946,3) Error: Identifier not found "ExceptObjProc"
err.pas(968,3) Error: Identifier not found "ExceptionClass"
err.pas(970,3) Error: Identifier not found "ExceptObjProc"
err.pas(1079,14) Error: Identifier not found "PLibModule"
err.pas(1079,24) Error: Error in type definition
err.pas(1087,18) Error: Identifier not found "LibModuleList"
err.pas(1088,21) Error: Operator is not overloaded
err.pas(1090,23) Error: Illegal qualifier
err.pas(1090,23) Error: Expression type must be class or record type
err.pas(1092,40) Error: Identifier not found "Instance"
err.pas(1092,63) Error: Identifier not found "Instance"
err.pas(1096,30) Error: Illegal qualifier
err.pas(1187) Fatal: There were 25 errors compiling module, stopping


--- Добавлено в 2021-01-20 22:53:55

Еще проблема в работе FPC и https://forum.hiasm.com/topic/62708

--- Добавлено в 2021-01-20 23:20:57

ПРОБЛЕМУ РАБОТЫ FPC и HTTPClient исправил при помощи замены функции ToString такой: Share.ToString

Так же часть ошибок вызывало наличие компонента WebBrowser
карма: 0

0
Редактировалось 4 раз(а), последний 2021-01-20 23:20:57