I'm trying to send encoded bytes (The codification with other code is made). I have understood that to stamp in the MFC application I must use "TRACE" and not "printf", but the real problem is that I'm not understing how i can handle the "BYTE*" and how i can use it in "port.write" to send the bytes.