do.. while loop problem

Hi I'm currently having a problem with a program that searches through a text file, reading through this file and searching for certain things within this text file. At a certain point in the program, it stops, not with an error it just pauses. I've checked out the value of the variables contained within the loop and for the stream reader i am using the peek method and this is what i get for the value that this method returns:

m_inputStream.Peek() error: evaluation of function 'm_inputStream.Peek' cannot take place because the thread is at a location at which function evaluation is not possible

if anyone has any idea of what is going wrong here I would be grateful for your advice.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!