I ll try to write a file with a iostram. It is ok for ASCII but don't work
for hex .

So when i send a "01" I get ASCII 31 but Iwant a real 01 in the file.



Thanks Markus m.haemmerli@sol net.ch

This ist my code so fare:

std::ofstream fileout(_T("C:\ \COMbin.hex"),s td::ios::out
|std::ios::trun c|std::ios::bin ary);

// fileout.setf(st d::ios::showbas e...