Hi everyone, I am trying to write data to serial port. I am using WriteFile() - a built in function. I need to send data in integer format, but it sends data in ASCII format (CString). If I wish to send "123" it will send it as 0x31H then 0x32H
and then 0x33H. Can you please tell me how to configure the code so that it start sending data in integer format? 123 as 0x7BH.
↧