Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

Managed Code Encoding Serial Port

$
0
0

Hi Community!

I have encountered a problem sending data past x"3F" over a serial port in managed code. In the docs I read you need to set the encoding to go past the 7-Bit(??) limit. So I did the following:

set serialPort1::Encoding to type System.Text.Encoding::GetEncoding(737) *> tried other values like 1252 as suggested in different forums. But when I do:

invoke serialPort1::Write(x"FF") *> it results in 3F being sent. where is Bit 8?

Somehow I don't get the catch. Should be simple though. I hope someone has an answer.

Regards

Rainer


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>