Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Searching and displaying specific information Pin
loyal ginger17-Jan-10 3:25
loyal ginger17-Jan-10 3:25 
GeneralRe: Searching and displaying specific information Pin
gregarion17-Jan-10 3:31
gregarion17-Jan-10 3:31 
GeneralRe: Searching and displaying specific information Pin
Bram van Kampen17-Jan-10 5:43
Bram van Kampen17-Jan-10 5:43 
GeneralRe: Searching and displaying specific information Pin
gregarion17-Jan-10 17:57
gregarion17-Jan-10 17:57 
AnswerRe: Searching and displaying specific information Pin
Moak17-Jan-10 6:19
Moak17-Jan-10 6:19 
QuestionMy C++ app forks itself! (win32/64) Pin
Måns Thörnqvist16-Jan-10 21:23
Måns Thörnqvist16-Jan-10 21:23 
AnswerRe: My C++ app forks itself! (win32/64) Pin
CPallini16-Jan-10 22:08
mveCPallini16-Jan-10 22:08 
GeneralRe: My C++ app forks itself! (win32/64) Pin
Måns Thörnqvist16-Jan-10 22:36
Måns Thörnqvist16-Jan-10 22:36 
Hi
Well, a continously running app doing the work once every minute is also a valid way of doing it, preferably as a system process. One of the main reasons for doing it command-line with scheduler though was that if there was a hardware error, the app might lock up. With the current way of doing it, even if the app crashes, the sheduler would just restart it the next minute.

But the main question remains - how can the app be duplicated in this strange way? With two separate PID's?

I now added a Mutex, so the second process immediately exits upon detecting the first process, but hey - that's really insane!

/Måns
GeneralRe: My C++ app forks itself! (win32/64) Pin
CPallini16-Jan-10 23:23
mveCPallini16-Jan-10 23:23 
GeneralRe: My C++ app forks itself! (win32/64) Pin
Måns Thörnqvist17-Jan-10 0:23
Måns Thörnqvist17-Jan-10 0:23 
GeneralRe: My C++ app forks itself! (win32/64) Pin
Bram van Kampen17-Jan-10 5:54
Bram van Kampen17-Jan-10 5:54 
AnswerRe: My C++ app forks itself! (win32/64) Pin
Moak17-Jan-10 2:54
Moak17-Jan-10 2:54 
Questionequivalent of atoi and itoa functions in SDK Pin
samira forooghi16-Jan-10 20:41
samira forooghi16-Jan-10 20:41 
AnswerRe: equivalent of atoi and itoa functions in SDK Pin
Richard MacCutchan16-Jan-10 21:47
mveRichard MacCutchan16-Jan-10 21:47 
GeneralRe: equivalent of atoi and itoa functions in SDK Pin
samira forooghi16-Jan-10 22:50
samira forooghi16-Jan-10 22:50 
GeneralRe: equivalent of atoi and itoa functions in SDK Pin
enhzflep17-Jan-10 11:33
enhzflep17-Jan-10 11:33 
GeneralRe: equivalent of atoi and itoa functions in SDK [modified] Pin
samira forooghi18-Jan-10 0:17
samira forooghi18-Jan-10 0:17 
GeneralRe: equivalent of atoi and itoa functions in SDK Pin
Stuart Dootson18-Jan-10 0:37
professionalStuart Dootson18-Jan-10 0:37 
GeneralRe: equivalent of atoi and itoa functions in SDK Pin
samira forooghi18-Jan-10 0:53
samira forooghi18-Jan-10 0:53 
QuestionSending class object on serial port (communication port) Pin
AnayKulkarni16-Jan-10 20:10
AnayKulkarni16-Jan-10 20:10 
AnswerRe: Sending class object on serial port (communication port) Pin
Richard MacCutchan16-Jan-10 21:49
mveRichard MacCutchan16-Jan-10 21:49 
AnswerRe: Sending class object on serial port (communication port) Pin
Cedric Moonen16-Jan-10 21:56
Cedric Moonen16-Jan-10 21:56 
AnswerRe: Sending class object on serial port (communication port) Pin
CPallini16-Jan-10 22:19
mveCPallini16-Jan-10 22:19 
QuestionInitCommonControlsEx problem Pin
AnayKulkarni16-Jan-10 19:43
AnayKulkarni16-Jan-10 19:43 
AnswerRe: InitCommonControlsEx problem Pin
JudyL_MD17-Jan-10 3:23
JudyL_MD17-Jan-10 3:23 

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.