Click here to Skip to main content
15,891,431 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Reg. Error C2440 in visual studio 2008.... Pin
Stuart Dootson15-Jun-09 22:05
professionalStuart Dootson15-Jun-09 22:05 
QuestionPreTranslateMessage in ActiveX Control Class Pin
Nishad S15-Jun-09 19:43
Nishad S15-Jun-09 19:43 
QuestionFunction Call in C++ (Newbie question) Pin
Rajdeep.NET15-Jun-09 18:46
Rajdeep.NET15-Jun-09 18:46 
AnswerRe: Function Call in C++ (Newbie question) Pin
«_Superman_»15-Jun-09 18:55
professional«_Superman_»15-Jun-09 18:55 
GeneralRe: Function Call in C++ (Newbie question) Pin
Rajdeep.NET15-Jun-09 19:26
Rajdeep.NET15-Jun-09 19:26 
GeneralRe: Function Call in C++ (Newbie question) Pin
«_Superman_»15-Jun-09 19:29
professional«_Superman_»15-Jun-09 19:29 
GeneralRe: Function Call in C++ (Newbie question) Pin
Rajdeep.NET15-Jun-09 20:42
Rajdeep.NET15-Jun-09 20:42 
GeneralRe: Function Call in C++ (Newbie question) Pin
«_Superman_»15-Jun-09 22:31
professional«_Superman_»15-Jun-09 22:31 
You could do this.
function01()
{
  for ( ; ; )
  {
    //Do whatever file checking and deleting.
    function02();
  }
}

function02()
{
  // Do not call function01. Simply return.
}


If your requirement is to prevent the user from creating the file, I recommend you use the FindFirstChangeNotification[^], FindNextChangeNotification[^] and ReadDirectoryChangesW[^] APIs.

«_Superman
I love work. It gives me something to do between weekends.

GeneralRe: Function Call in C++ (Newbie question) Pin
Rajdeep.NET15-Jun-09 23:56
Rajdeep.NET15-Jun-09 23:56 
GeneralRe: Function Call in C++ (Newbie question) Pin
«_Superman_»16-Jun-09 0:00
professional«_Superman_»16-Jun-09 0:00 
GeneralOT: Rajdeep.Net Pin
EliottA23-Jun-09 5:24
EliottA23-Jun-09 5:24 
GeneralRe: OT: Rajdeep.Net Pin
«_Superman_»23-Jun-09 16:17
professional«_Superman_»23-Jun-09 16:17 
GeneralRe: OT: Rajdeep.Net Pin
Rajesh R Subramanian28-Jul-09 0:29
professionalRajesh R Subramanian28-Jul-09 0:29 
GeneralRe: OT: Rajdeep.Net Pin
ThatsAlok21-Jun-12 21:34
ThatsAlok21-Jun-12 21:34 
QuestionRe: Function Call in C++ (Newbie question) Pin
David Crow16-Jun-09 2:57
David Crow16-Jun-09 2:57 
AnswerRe: Function Call in C++ (Newbie question) Pin
molesworth16-Jun-09 3:36
molesworth16-Jun-09 3:36 
QuestionProblem running while and scanf Pin
Denis J. González15-Jun-09 18:37
Denis J. González15-Jun-09 18:37 
AnswerRe: Problem running while and scanf Pin
«_Superman_»15-Jun-09 19:04
professional«_Superman_»15-Jun-09 19:04 
GeneralRe: Problem running while and scanf Pin
Denis J. González15-Jun-09 19:08
Denis J. González15-Jun-09 19:08 
GeneralRe: Problem running while and scanf Pin
«_Superman_»15-Jun-09 19:24
professional«_Superman_»15-Jun-09 19:24 
Questionoffice automation - I want to use 'MS-WORD' and 'MS-EXCEL' together? Pin
soosun115-Jun-09 14:18
soosun115-Jun-09 14:18 
AnswerRe: office automation - I want to use 'MS-WORD' and 'MS-EXCEL' together? Pin
Stuart Dootson15-Jun-09 14:59
professionalStuart Dootson15-Jun-09 14:59 
AnswerRe: office automation - I want to use 'MS-WORD' and 'MS-EXCEL' together? Pin
«_Superman_»15-Jun-09 16:24
professional«_Superman_»15-Jun-09 16:24 
GeneralRe: office automation - I want to use 'MS-WORD' and 'MS-EXCEL' together? [modified] Pin
soosun116-Jun-09 4:49
soosun116-Jun-09 4:49 
GeneralRe: office automation - I want to use 'MS-WORD' and 'MS-EXCEL' together? Pin
«_Superman_»16-Jun-09 19:37
professional«_Superman_»16-Jun-09 19:37 

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.