I am not familiar with CString class, the problem i have is numOfEditBox will not increment if there is more than 1 "editbox" is found.
In generic c++ i can use while(!read_File.eof()), then read each line. search the second string is easy.
but in MFC, I basically have no idea how to rewrite the while loop in order to find more than 1 "editbox" since i am a very beginner.
dwRead = File.Read(buffer, 20);
while (dwRead > 0);