🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4988

Re: char *buf is bugged ?

#4988
From: Andrue Cope [TeamB]
Date: Mon, 24 Oct 2005 13:41
12 lines
1212 bytes
Andrue Cope [TeamB] wrote:

>   Form1->Memo->Lines->Add( AnsiString( buf, Size ) );

Oops:

Form1->Memo->Lines->Add( AnsiString( &( buf[ 0 ] ), Size ) );

-- 
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <435ce3ee$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <435cd85e$1@newsgroups.borland.com> <435ce2e1$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a803499fd1f61208
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address>
Subject: Re: char *buf is bugged ?
Newsgroups: borland.public.cppbuilder.nativeapi
References: <435cd85e$1@newsgroups.borland.com> <435ce2e1$1@newsgroups.borland.com>
Date: Mon, 24 Oct 2005 14:41:53 +0100
User-Agent: XanaNews/1.17.6.5
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 217.207.223.34
Message-ID: <435ce3ee$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1130161134 217.207.223.34 (24 Oct 2005 06:38:54 -0700)
Lines: 12
X-Authenticated-User: acope
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail