CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Dec 2006
    Posts
    16

    How To Convert Received Bytes To String?

    Hi friends, at an example i found in MSDN library, such a command is used to convert the received bytes to ASCII string;

    data = Text::Encoding::ASCII->GetString( bytes, 0, i );

    But my compiler can not build due to errors in this statement. I think this code is written for 2003 version and I use 2005, so there must be a new translating method just like many other changes... Can you help me about how to do this in version 2005. Thanks...
    Last edited by Noreturn; December 24th, 2006 at 06:35 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured