How do I save the inputs given from Edit control into a text file??? I am really new to Windows programming.Can someone please help me out.

Thanks in advance.

What programming language are you writing the program?

Windows Embedded CE in Visual C/C++ !

It supports other languages too. But if you are using C++, which compiler and version of the compiler? Which version of CE? Are you writing MFC or something else?

Most c++ compilers for CE support FILE*, and some newer compilers also have limited support for fstream class. The last I knew CE did not support the concept of a working directory, so _chdir() is not supported.

Thanks a lot for your quick response ! its a WIN 32 smart device project for an TX-28 SDK ,the version I am using is CE.6..