When using FileInputStream at my program start, it seems that the file remains ‘open’ during the execution :
My_Read_File_Function
{
File inputFile =File(T("C:\\test.txt"));
FileInputStream* inputTo = inputFile.createInputStream();
if (inputTo)
{
inputTo->read(my_data,sizeof(my_data));
}
}
Then do I need to delete something at the end of this function ? Some ‘close()’ equivalent ?
Thanks,
Nicolas
