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