while ( ! OpenFile.eof())
{
getline (OpenFile, strInfo);
cout << strInfo << endl;
}

That's still incorrect for the same reason matsp mentioned previously. Replace the eof test in the...