Article View: borland.public.cppbuilder.internet.socket
Article #2182Re: Indy 9, BCB 6 & IdHashMessageDigest.pas
From: Remy Lebeau (TeamB)
Date: Thu, 13 Jul 2006 20:46
Date: Thu, 13 Jul 2006 20:46
21 lines
1684 bytes
1684 bytes
"Skaarak" <skaarak@NOakamailSPAM.com> wrote in message news:44b6a70a@newsgroups.borland.com... > Well, it complied fine... Only because AnsiString has an 'unsigned' constructor. But the value that is returned by HashValue() is not the actual hash. It is a pointer to an array of bytes that holds the hash bits. > In my code preview it says it returns a Unsigned Int? That is due to an incompatibility in the way Delphi and C++ work in regards to functions that return arrays. Have a look at the following posting I made awhile back: http://groups.google.com/group/borland.public.cppbuilder.internet.socket/msg/7e542a43193da43b Gambit
Technical Details
Message-ID:
<44b6b16b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.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-mailReferences:
<44b67f0d@newsgroups.borland.com> <44b68d08@newsgroups.borland.com> <44b6a5c3$3@newsgroups.borland.com> <44b6a70a@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> <44b6a5c3$3@newsgroups.borland.com> <44b6a70a@newsgroups.borland.com> Subject: Re: Indy 9, BCB 6 & IdHashMessageDigest.pas Date: Thu, 13 Jul 2006 13:46:00 -0700 Lines: 23 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: <44b6b16b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1152823659 68.69.17.41 (13 Jul 2006 13:47:39 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.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