Re: Please clarify
ALT="MFC Programmer's SourceBook" WIDTH="256"
HEIGHT="88">
color="#a0a0ff">Discussion Board
[ Read Responses | Post a New Response | Return to the Index ]
Previous in Thread | Next in ThreadRe: Please clarify
Posted by Andreas on 4/20/98 12:49a.m., in response to CFile.Close() can't open same file !, posted by Hans Wedemeyer on 4/19/98 9:11p.m.
Hmmm.
The code you gave here was not complete, so it's difficult to judge.
In your code the file seems to be created on the stack (or was it just to simplify it?): in this case you even don't have to close the file; may be you can you show us the real code (I mean if the file it's a member var, where it is closed etc.)?
Did you use try-catch block for the open/close handlers to see if something goes wrong (or got some messages in the debug window)?
Andreas
Responses
Re: Please clarify : Hans Wedemeyer -- 4/20/98 5:20a.m.
Re: Please clarify : Andreas -- 4/20/98 6:05a.m.
Re: Please clarify : Hans Wedemeyer -- 4/20/98 8:20a.m.
Re: Please clarify : J黵gen Kraus -- 4/20/98 9:21a.m.
Found the problem!!! : Hans Wedemeyer -- 4/21/98 11:41a.m.
Re: Please clarify : Andreas -- 4/21/98 1:41a.m.
Re: Please clarify : Hans Wedemeyer -- 4/21/98 10:27a.m.
Re: Please clarify : J黵gen Kraus -- 4/21/98 11:24a.m.
Post a New Response
Your Name:
E-Mail Address:
Subject:
Message:
If you'd like to include a link to another page with your message,please provide both the URL address and the title of the page:
Optional Link URL:
Optional Link Title:
If you'd like to include an image (picture) with your message,please provide the URL address of the image file:
Optional Image URL:
If you'd like e-mail notification of responses, please check this box:
The MFC Discussion Board is maintained with WebBBS 2.24.