🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Indy 9, BCB 6 & IdHashMessageDigest.pas

#2268
From: Skaarak
Date: Thu, 13 Jul 2006 18:12
37 lines
2397 bytes
"Skaarak" <skaarak@NOakamailSPAM.com> wrote in message 
news:44b67f0d@newsgroups.borland.com...
> I'm trying to use the MD5 hash from Indy, which in 9 went
> to the file IdHashMessageDigest.pas.
>
> However, after fighting with BCB6 & Indy 9, finding lost RSP
> files and getting it installed.  There is no component HashMessageDigest.
> I have 5 Indy Tabs, Server, Client, Misc, Intercepts & IO Handlers but
> scanning through them I don't see anything that's like what I'm looking 
> for.
>
> Going over the news groups twice I haven't seen anything either.
>
> Thanks to any who have suggestions!

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

    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.

I'm also assuming this has to do with something in my upgrading from Indy 8
to Indy 9, but I'm at a loss as to how to fix it.  If I leave the .HPP file 
as an
include and remove the code snippet the program complies fine.  Once the
snippet has been added it will not compile after wards.

I've tried deleting all .OBJ and temporary files, but it didn't seem to 
help.

Any new ideas on this?

-Cory
Technical Details
Message-ID: <44b68d08@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!atl-c05.usenetserver.com!news.usenetserver.com!peer01.west.cox.net!cox.net!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <44b67f0d@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>
Subject: Re: Indy 9, BCB 6 & IdHashMessageDigest.pas
Date: Thu, 13 Jul 2006 12:12:49 -0600
Lines: 39
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; Response
NNTP-Posting-Host: 63.231.79.30
Message-ID: <44b68d08@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1152814344 63.231.79.30 (13 Jul 2006 11:12:24 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!atl-c05.usenetserver.com!news.usenetserver.com!peer01.west.cox.net!cox.net!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail