I have a CString with 'HEX' values, which looks something like this: "0030303100314a"
Now I want to store this into a bin file, so that if I open it with a hex-editor, the data us displayed is displayed like in the string: 00 30 30 30 31 00 31 4a
I fail to prepare the data right. It gets always saved in standard ASCII even though I use the "wb" mode.
Thanks in advance