Hi,

How to write some data contained in a CString to a binary file?
The CString data can only contain "hex values", i.e. str = "010145b4bd".
When I write using ofstream or CFile and open the file with a hex editor it shows my string hex values in the ascii part :

00000000 | 30 31 30 31 34 | 010145b4bd

any idea?
thanks in advance