CFileException e;
pFile->Open(FileName, CFile::modeRead | CFile::shareDenyNone, &e);
where the FilePath is "" and the FileName is tlg0392.txt. In debug
mode I find out that it is throwing a CFileException. error = 0 OS
m_IOsError What does this error mean? What can I do to fix it? (the
file exists)
Where would I go to find out what it means? MSDN says that I should
look in my
operating system documentation, I can't find it in the Windows Manual,
where else could I look?
thanks a lot.
what is the value in e.m_cause after the exception has occurred ?
I have always found these errors to be pretty accurate
Andy
Greg Ewing wrote in message <370E4CB2...@wharton.upenn.edu>...
have you set a break point on the line in question and stepped into the MFC
code to see exactly where it is failing - this could lead you to some clues
as to what is happing
--
Visit: http://ourworld.compuserve.com/homepages/jjmarshall/
from your example, call this after your open:
e.ReportError();
--
John Joelle Cruz
Software Engineer
Nortel Networks Inc.
[e-mail] johnc...@usa.net
[homepage] http://members.xoom.com/johncruise
Greg Ewing <gew...@wharton.upenn.edu> wrote in message
news:370E4CB2...@wharton.upenn.edu...