🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Indy 9, BCB 6 & IdHashMessageDigest.pas

#2269
From: Skaarak
Date: Thu, 13 Jul 2006 18:36
45 lines
2733 bytes
"Skaarak" <skaarak@NOakamailSPAM.com> wrote in message 
news:44b68d08@newsgroups.borland.com...
> "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?

Okay, by adding the .OBJ file of the IdHashMessageDigest to the project
I now compile.  Annoying, but liveable.

-Cory 
Technical Details
Message-ID: <44b6929b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!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: "Skaarak" <skaarak@NOakamailSPAM.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:36:36 -0600
Lines: 47
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: <44b6929b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1152815771 63.231.79.30 (13 Jul 2006 11:36:11 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail