Click here to Skip to main content
15,924,367 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionstrstr() Pin
Programm3r20-Dec-06 22:28
Programm3r20-Dec-06 22:28 
AnswerRe: strstr() Pin
Programm3r20-Dec-06 22:32
Programm3r20-Dec-06 22:32 
AnswerRe: strstr() Pin
Naveen20-Dec-06 22:40
Naveen20-Dec-06 22:40 
AnswerRe: strstr() Pin
David Crow21-Dec-06 3:32
David Crow21-Dec-06 3:32 
QuestionCFile open and create file Pin
ashokvishnu20-Dec-06 22:27
ashokvishnu20-Dec-06 22:27 
QuestionRe: CFile open and create file Pin
prasad_som20-Dec-06 23:27
prasad_som20-Dec-06 23:27 
AnswerRe: CFile open and create file Pin
ashokvishnu20-Dec-06 23:44
ashokvishnu20-Dec-06 23:44 
GeneralRe: CFile open and create file Pin
CPallini21-Dec-06 0:44
mveCPallini21-Dec-06 0:44 
ashokvishnu wrote:
I found out the problem. If you use createfile function with dwDesiredAccess flag as 0, then it will not try to open the file. It will only check whether the file exists.


I don't think that is a solution, at least for the problem you posted.
What will happen if another application tries to open your file?

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

GeneralRe: prevent renaming an exe when it is running in windows Pin
nutkase20-Dec-06 22:17
nutkase20-Dec-06 22:17 
QuestionChanging default speaker configuration on Vista Pin
pvn g20-Dec-06 22:02
pvn g20-Dec-06 22:02 
AnswerRe: Changing default speaker configuration on Vista Pin
Hadi Dayvary20-Dec-06 22:16
professionalHadi Dayvary20-Dec-06 22:16 
QuestionGet the year... Pin
Programm3r20-Dec-06 21:39
Programm3r20-Dec-06 21:39 
AnswerRe: Get the year... Pin
prasad_som20-Dec-06 21:44
prasad_som20-Dec-06 21:44 
AnswerRe: Get the year... Pin
_AnsHUMAN_ 20-Dec-06 21:45
_AnsHUMAN_ 20-Dec-06 21:45 
AnswerRe: Get the year... Pin
Naveen20-Dec-06 21:45
Naveen20-Dec-06 21:45 
AnswerRe: Get the year... Pin
CPallini20-Dec-06 21:48
mveCPallini20-Dec-06 21:48 
GeneralRe: Get the year... Pin
Programm3r20-Dec-06 21:50
Programm3r20-Dec-06 21:50 
GeneralRe: Get the year... Pin
Naveen20-Dec-06 21:54
Naveen20-Dec-06 21:54 
GeneralRe: Get the year... Pin
Programm3r20-Dec-06 22:05
Programm3r20-Dec-06 22:05 
Questionexport text to pdf vc++/mfc. Pin
Murugan k20-Dec-06 20:58
Murugan k20-Dec-06 20:58 
AnswerRe: export text to pdf vc++/mfc. Pin
Cedric Moonen20-Dec-06 21:07
Cedric Moonen20-Dec-06 21:07 
Questionhow to maintain log file for a application? Pin
Banks K20-Dec-06 20:53
Banks K20-Dec-06 20:53 
AnswerRe: how to maintain log file for a application? Pin
Rage21-Dec-06 1:56
professionalRage21-Dec-06 1:56 
AnswerRe: how to maintain log file for a application? Pin
Chris Losinger21-Dec-06 3:17
professionalChris Losinger21-Dec-06 3:17 
QuestionAdding File names to list box. Pin
Suresh H20-Dec-06 20:43
Suresh H20-Dec-06 20:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.