If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

1. Please, use Code tags around code snippets.
2. To help us to help you you should always explain what exact error you had and, if possible, show the exact error message.
3. What is m_List1? Is it a CListBox instance? If *yes* then what can it have to do with a CStdioFile object passed in as a parameter?
You, perhaps, wanted to pass in the CString strFirstLine object containing the text you had read from a file?