Article View: borland.public.cppbuilder.nativeapi
Article #5757Re: problem with processes and pipes
From: Remy Lebeau (TeamB)
Date: Mon, 11 Jul 2005 17:03
Date: Mon, 11 Jul 2005 17:03
13 lines
1369 bytes
1369 bytes
"Alan Bellingham" <alanb@episys.com> wrote in message
news:vh94d151i0ec6gor779vq4ncqonj0ioict@4ax.com...
> Why are you doubling the size of the buffer?
A typo. I don't normally work with static wchar_t[] buffers, so I'm used to
doing such size calculations based on string length instead, ie:
send(s, (char*)buf, lstrlenW(buf) * sizeof(wchar_t), 0);
Gambit
Technical Details
Message-ID:
<42d2a856$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42d0c32b$1@newsgroups.borland.com> <42d21e89$3@newsgroups.borland.com> <vh94d151i0ec6gor779vq4ncqonj0ioict@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,94749c832783b174 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <42d0c32b$1@newsgroups.borland.com> <42d21e89$3@newsgroups.borland.com> <vh94d151i0ec6gor779vq4ncqonj0ioict@4ax.com> Subject: Re: problem with processes and pipes Date: Mon, 11 Jul 2005 10:03:59 -0700 Lines: 15 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: <42d2a856$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1121101910 68.69.17.41 (11 Jul 2005 10:11:50 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail