EldoS | Feel safer!

Software components for data protection, secure storage and transfer

I can't find SBUtils.pas

#4997
Posted: 02/14/2008 09:07:53
by Kunte Lin (Basic support level)
Joined: 01/16/2008
Posts: 7

Hi,
My company needs SecureBlackbox as components to develop our product.
I've installed SecureBlackbox(trial) for 2 months.
I want to use ElX509Certificate component to load my pfx file.
Then,the program couldn't find SBUtils.pas and show a dialog which asked me to point out the file path.
How do I solve this problem?
my program code is blow.Thanks for answering...^^"



=====================================================
var S : string;
Cert : TElX509Certificate;
Pwd : string;
Stream : TFileStream;
FileName,
KeyFileName : string;
R : integer;
begin

FileName := Opendialog1.FileName;
Pwd:='19700628';
Cert := TElX509Certificate.Create(nil);
Stream := TFileStream.Create(FileName, fmOpenRead or fmShareDenyWrite);
R := Cert.LoadFromStreamPFX(Stream, Pwd);
end;
=============================================================================

#4998
Posted: 02/14/2008 09:24:06
by Eugene Mayevski (Team)

The program can't be looking for SBUtils.pas. It's Delphi IDE that does. Why it does this, remains unclear from your message. Most likely there's some exception that the IDE wants to report.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 4027 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!