delphi10.3报E2003 Undeclared identifier: ‘TSuperRttiContext‘

1、参考https://blog.youkuaiyun.com/pulledup/article/details/114275617

2、打开单元:superobject 

{$if defined(VER210) or defined(VER220) or defined(VER230)OR defined(VER320)}
  {$define HAVE_RTTI}
{$ifend}

改为:

{$if defined(VER210) or defined(VER220) or defined(VER230)OR defined(VER320) OR defined(VER330)}
  {$define HAVE_RTTI}
{$ifend}

[dcc32 Error] HIDCommunicator.pas(62): E2168 Field or method identifier expected [dcc32 Error] HIDCommunicator.pas(76): E2010 Incompatible types: 'Boolean' and 'procedure, untyped pointer or untyped parameter' [dcc32 Error] HIDCommunicator.pas(111): E2003 Undeclared identifier: 'HidDevices' [dcc32 Error] HIDCommunicator.pas(111): E2029 ')' expected but identifier 'Count' found [dcc32 Error] HIDCommunicator.pas(115): E2066 Missing operator or semicolon [dcc32 Error] HIDCommunicator.pas(119): E2003 Undeclared identifier: 'HidDevices' [dcc32 Error] HIDCommunicator.pas(119): E2066 Missing operator or semicolon [dcc32 Error] HIDCommunicator.pas(121): E2029 'END' expected but 'FINALLY' found [dcc32 Error] HIDCommunicator.pas(124): E2029 '.' expected but ';' found [dcc32 Error] HIDCommunicator.pas(134): E2003 Undeclared identifier: 'HidDevices' [dcc32 Error] HIDCommunicator.pas(134): E2066 Missing operator or semicolon [dcc32 Error] HIDCommunicator.pas(137): E2003 Undeclared identifier: 'DevicePath' [dcc32 Error] HIDCommunicator.pas(163): E2003 Undeclared identifier: 'HidDevices' [dcc32 Error] HIDCommunicator.pas(163): E2066 Missing operator or semicolon [dcc32 Error] HIDCommunicator.pas(177): E2003 Undeclared identifier: 'FirstDeviceByID' [dcc32 Error] HIDCommunicator.pas(183): E2361 Cannot access private symbol TJvHidDevice.IsAccessible [dcc32 Error] HIDCommunicator.pas(183): E2015 Operator not applicable to this operand type [dcc32 Error] HIDCommunicator.pas(199): E2003 Undeclared identifier: 'NextDeviceByID' [dcc32 Error] HIDCommunicator.pas(241): E2033 Types of actual and formal var parameters must be identical [dcc32 Error] HIDCommunicator.pas(258): E2003 Undeclared identifier: 'DevicePath' [dcc32 Error] HIDCommunicator.pas(263): E2003 Undeclared identifier: 'GetSerialString' [dcc32 Error] HIDCommunicator.pas(264): E2003 Undeclared identifier: 'GetProductString' [dcc32 Error] HIDCommunicator.pas(281): E2003 Undeclared identifier: 'GetActiveDeviceInfo' [dcc32 Error] HIDCommunicator.pas(281): E2029 ';' expected but ':' found [dcc32 Error] HIDCommunicator.pas(283): E2003 Undeclared identifier: 'FDeviceLock' [dcc32 Error] HIDCommunicator.pas(283): E2066 Missing operator or semicolon [dcc32 Error] HIDCommunicator.pas(285): E2003 Undeclared identifier: 'Result' [dcc32 Error] HIDCommunicator.pas(285): E2003 Undeclared identifier: 'FActiveDevice' [dcc32 Error] HIDCommunicator.pas(287): E2066 Missing operator or semicolon [dcc32 Warning] HIDCommunicator.pas(287): W1000 Symbol 'Release' is deprecated
09-28
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值