charul
asked on
serialization ...
My application is dialog based,
i would like to know how could i write data into a file , that which i read from the combo box and when i start my application, read from the file and initliaze the combo bo with the file content .
i would like to know how could i write data into a file , that which i read from the combo box and when i start my application, read from the file and initliaze the combo bo with the file content .
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
WriteString is a member function of CArchive class should i have an object of that and the use WriteString to write into the file
Sorry, replace CFile by CStdioFile.
ASKER
why is _T used while creating the file. I am getting an exception when executing this code.
_T is the macro to handle Unicode or ANSI text literals.
If you program is always going to be compiled as ANSI (8 bits per character), just leave it out.
If you program is always going to be compiled as ANSI (8 bits per character), just leave it out.
ASKER
Please look into it.