🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Indy 9, BCB 6 & IdHashMessageDigest.pas

#2271
From: Remy Lebeau (TeamB)
Date: Thu, 13 Jul 2006 19:55
25 lines
1767 bytes
"Skaarak" <skaarak@NOakamailSPAM.com> wrote in message
news:44b68d08@newsgroups.borland.com...

> Assuming that there is no component, I included the
> IdHashMessageDigest.hpp file in my CPP file, and then
> added the following code:

That is the correct thing to do.

>     TIdHashMessageDigest5 *MD5 = new TIdHashMessageDigest5 ();
>     debugbox2->Text = MD5->HashValue("pvr2_0001.txt");
>     delete MD5;
>
> The only problem is that with this code in there I get a no descript
error:
> [Linker Error] Fatal: Access violation.  Link terminated.

TIdHashMessageDigest5 inherits the HashValue(String) method from TIdHash128.
TIdHash128.HashValue(String) does not return a String.  It returns a
T4x4LongWordRecord instead.  The second line of the code above should not
even compile.


Gambit
Technical Details
Message-ID: <44b6a5c3$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.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
References: <44b67f0d@newsgroups.borland.com> <44b68d08@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,33c15f9f7fbf5798
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <44b67f0d@newsgroups.borland.com> <44b68d08@newsgroups.borland.com>
Subject: Re: Indy 9, BCB 6 & IdHashMessageDigest.pas
Date: Thu, 13 Jul 2006 12:55:16 -0700
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <44b6a5c3$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1152820675 68.69.17.41 (13 Jul 2006 12:57:55 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.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