|
-
December 24th, 2006, 06:32 PM
#1
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|