I am trying to debug a program. In order to this I want to output some text contained in a CString variable to c:\debug.txt.
I already have the debug message I want in CString "csMessage". How do I output the contents of csMessage to c:\debug.txt.
Code that I can use would be much appreciated!