openFileRead(String* fileName)
{
String* lineOfTextIn;
StreamReader* input = new StreamReader(fileName); //this creates an instance of a stream
//of a stream objec that is connected to
//the file name passsed in
lineOfTextIn = input->ReadLine();//Will read the next line of text from your file and pass
//back a string object that is set equal to the lineOfTextIn
// string object
}
//I am not sure if this is what you are looking for becasue you are doing it for a PocketPC and I have never done any programming for those. If you are just trying to read a text file from a pocketPC this should work
also there's good article on PocketPC here - http://www.codeproject.com/ce/cetreeview.asp
The ZIP file - http://www.codeproject.com/ce/CETreeView/CETreeView.zip
includes a class called FileStream (in FileStream.h) - it's kinda wrapper for the APIs - so you won't bother calling them.
Svetlin