SynCrypto.pas和Lazarus编译问题

问题描述 投票:0回答:1

你好!我正试图在我的Lazarus项目中使用SynCrypto.pas(Synopse mORMot ORMSOAMVC框架的一部分)来解密AES-128流。我试图在我的Lazarus项目中使用SynCrypto.pas(Synopse mORMot ORMSOAMVC框架的一部分)来解密AES-128流。我的项目在SynFPCTypInfo中出现错误,无法编译。

PFPCInterfaceData = TypInfo.PInterfaceData;
PFPCVmtMethodParam = TypInfo.PVmtMethodParam;
PFPCIntfMethodTable = TypInfo.PIntfMethodTable;
PFPCIntfMethodEntry = TypInfo.PIntfMethodEntry;

SynFPCTypInfo.pas(91,31) Error: Identifier not found "PInterfaceData"
SynFPCTypInfo.pas(91,45) Error: Error in type definition
SynFPCTypInfo.pas(92,32) Error: Identifier not found "PVmtMethodParam"
SynFPCTypInfo.pas(92,47) Error: Error in type definition
SynFPCTypInfo.pas(93,33) Error: Identifier not found "PIntfMethodTable"
SynFPCTypInfo.pas(93,49) Error: Error in type definition
SynFPCTypInfo.pas(94,33) Error: Identifier not found "PIntfMethodEntry"
SynFPCTypInfo.pas(94,49) Error: Error in type definition

我认为是与Delphi TypInfo模块不兼容。 如何解决这个问题?

lazarus mormot
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.