AnsiString Buf = "test string";

SendStream->Write(Buf[1], Buf.Length());

Regards,

SZ


On 2/7/08, Rocky Castaneda <[EMAIL PROTECTED]> wrote:
>
> Hi I have a code snippet for THttpCli on Delphi doing
> the following:
>
> <snippet>
> Buf := 'test string';
> SendStream.Write(Buf[1], Length(Buf));
> </snippet>
>
> where Buf is a String.
>
> Question:
>
> How do we convert the snippet above to C++ Builder?
>
> All the best,
>
> rocky
>
>
>
>
> ____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search.
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> --
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to