🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #2309

TIdHashMessageDigest5 and BCB 6

#2309
From: Lapo Guidi
Date: Tue, 27 Jun 2006 11:57
19 lines
1322 bytes
Hi all,
I got problems getting the MD5 value of a simple String with Borland C++ 
Builder 6 and Indy v9, can somebody help me?
I wrote:

  T4x4LongWordRecord Hash;
  AnsiString Hex;
  TIdHashMessageDigest5 *MD5=new TIdHashMessageDigest5();
  Hash=MD5->HashValue("testmessage");
  Hex=MD5->AsHex(NULL, Hash);

  delete MD5;

I received an error: E2277 Lvalue required on the 
"Hash=MD5->HashValue("testmessage"); row

Thanks!

Lapo 
Technical Details
Message-ID: <44a11d2e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,c6188de51aacc8b4,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Lapo Guidi" <lapoguidi@inwind.it>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: TIdHashMessageDigest5 and BCB 6
Date: Tue, 27 Jun 2006 13:57:53 +0200
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 87.16.132.248
Message-ID: <44a11d2e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1151409454 87.16.132.248 (27 Jun 2006 04:57:34 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail