🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Indy 9, BCB 6 & IdHashMessageDigest.pas

#2272
From: Skaarak
Date: Thu, 13 Jul 2006 20:03
31 lines
2089 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:44b6a5c3$3@newsgroups.borland.com...
>
> "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.

Well, it complied fine... In my code preview it says it returns a Unsigned 
Int?
It is just a pointer to the T4x4?

-Cory 
Technical Details
Message-ID: <44b6a70a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.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> <44b6a5c3$3@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: "Skaarak" <skaarak@NOakamailSPAM.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <44b67f0d@newsgroups.borland.com> <44b68d08@newsgroups.borland.com> <44b6a5c3$3@newsgroups.borland.com>
Subject: Re: Indy 9, BCB 6 & IdHashMessageDigest.pas
Date: Thu, 13 Jul 2006 14:03:47 -0600
Lines: 33
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: 63.231.79.30
Message-ID: <44b6a70a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1152821002 63.231.79.30 (13 Jul 2006 13:03:22 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.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