I get Exceptions on all the suggested syntax. What could be wrong here. --- Fastream Technologies <[EMAIL PROTECTED]> wrote:
> I forgot the ampersand. It should be either, > > SendStream->Write(&Buf[1], Buf.Length()); > > or as Paul suggested. > > Best Regards, > > SZ > > On 2/7/08, Paul Ingelbrant <[EMAIL PROTECTED]> wrote: > > > > Fastream Technologies wrote: > > > AnsiString Buf = "test string"; > > > > > > SendStream->Write(Buf[1], Buf.Length()); > > > > > or > > SendStream->Write(Buf.c_str(), Buf.Length()); > > > > ? > > > > > > -- > > 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 > ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- 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