Help. I'm trying to create a simple Dialog based app where you can select some check boxes and what not, and then hit "Apply" and a batch file is created.
Simple enough - except that I'm new to this thing. I'm writing it in Visual Studio using the MFC wizard and some books.
But I can't seem to get the CString to work with the write function of the CFile.
Why? and is there a better way to do this?
thanks for any help!
Turns out that my sizeof() command that I was using to return the size of the string in the Write() function was not working like I thought.
that's why I was getting some truncated lines and thinking the CString was off.