Method not overridden error
Posted: Tue 25 Aug 2015 11:44
Hello,
when I try to import a certificate into a TScCertificate component I get the message:
Can anyone tell me what I'm doing wrong?
Best Regards,
Frans
when I try to import a certificate into a TScCertificate component I get the message:
I used the following lines of code :Method is not overridden in the inherited class
Code: Select all
uses .., ScBridge, ....
.
.
.
procedure ImportAIDCertificate;
var
LFileStream: TFileStream;
begin
if (FCertFileName = '') then
raise Exception.Create(rsNoCertFileSpecified)
else if not TFile.Exists(FCertFileName) then
raise Exception.CreateFmt(rsCertFileNotFound, [FCertFileName]);
LFileStream := TFileStream.Create(FCertFileName, fmOpenRead);
try
FAIDCertificate.ImportFrom(LFileStream, ''); <---------- Error location
finally
LFileStream.Free;
end;
end;
.
.
.
Best Regards,
Frans