Re: CStdioFile::Open gives error "No error occurred"
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Tue, 26 Dec 2006 17:45:45 -0500
Show the exact code. I have no idea where you are picking up the filename ("from the
command line" doesn't tell me where in your program you are doing it).
joe
On Tue, 26 Dec 2006 10:43:00 -0800, Rui Oliveira <RuiOliveira@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
CStdioFile::Open gives error "No error occurred"Joseph M. Newcomer [MVP]
A have an application that associate file extension with shell OPEN command
and application.
When I double click a file with the respective extension, the application is
open. Then I catch filename with CWinApp::m_lpCmdLine.
When I tried to open file with CStdioFile::Open with options CFile::modeRead
| CFile::shareDenyNone, gives an error.
The message error are "No error occurred" ???
Windows blocks file when we double click them??
Tks.
Rui
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: CStdioFile::Open gives error "No error occurred"
- From: Rui Oliveira
- Re: CStdioFile::Open gives error "No error occurred"
- Prev by Date: Re: When are both the Doc and the MainFrm created?
- Next by Date: Re: How to get files and folders name of windows\\system32 directory for Windows XP 64 bit OS by programming
- Previous by thread: hide dialog box application
- Next by thread: Re: CStdioFile::Open gives error "No error occurred"
- Index(es):
Relevant Pages
|
Loading