Article View: borland.public.cppbuilder.nativeapi
Article #275Re: WideString to Hexa Decimal Value
From: Hans Galema
Date: Mon, 26 May 2008 18:34
Date: Mon, 26 May 2008 18:34
11 lines
1195 bytes
1195 bytes
Hans Galema wrote:
Sorry, that should be:
while ( *bptr || *(bptr+1) )
{
HexString += IntToHex ( (int)*bptr, 2 );
bptr++;
HexString += IntToHex ( (int)*bptr, 2 );
bptr++;
}
Technical Details
Message-ID:
<483b039a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<48385c4f@newsgroups.borland.com> <483b007a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,89f4225d30e42975 X-Google-Attributes: gid10cc67,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 26 May 2008 20:34:38 +0200 From: Hans Galema <notusedagain@notusedagain.nl> User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: WideString to Hexa Decimal Value References: <48385c4f@newsgroups.borland.com> <483b007a$1@newsgroups.borland.com> In-Reply-To: <483b007a$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 145.98.201.248 Message-ID: <483b039a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1211827098 145.98.201.248 (26 May 2008 11:38:18 -0700) Lines: 11 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail