hi i am working in vc.net 2003
i want to convert u_char array to string format which can be used in a textbox or any other control..
and the u_char block is actually filled in from the system. which will contain non-ascii characters(beyond 0x7f) ,,
actually i want to print u_char array on textbox like
ff f4 01 2f as it is in a byte array..
i am sorry for my poor english .. i am not very good at it.. anyways thanks in advance..

UNSIGNED CHAR data block and STRING format!!
Jehan Badshah
Ponna
else you may have to use any of the string conversion macros appropriate for you (e.g W2A)
Please refer to MSDN for the macros
vivekvishist
Note that this forum doesn't cover VC 2003.
This would be one way to do it:
bytestring will now contain something like "ff 00 ff 00";