Click here to Skip to main content
15,918,617 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCreateProcess and Detect when tthis process Ends.. Pin
Drakesal26-Aug-12 1:25
Drakesal26-Aug-12 1:25 
AnswerRe: CreateProcess and Detect when tthis process Ends.. Pin
pasztorpisti26-Aug-12 3:18
pasztorpisti26-Aug-12 3:18 
It is possible to wait for a program to exit when you start it with CreateProcess() but in your case you shouldn't do that. Many text editor and browser and whatever programs work like this: They allow you to open many documents on tabs. When you use CreateProcess() to start the editing or viewing of a document (or a webpage in your case) you launch an instance of the editor program that does the following: It checks if another instance of that program is already running and if that is the case then the process you created is just passing some info to the already running process and the process you started exits immediately. The already running process shows your document/webpage on a new tab. You shouldn't check for closing the explorer because you can't for the reasons I listed previously, moreover, I know that many users never exit their web browser - they use it open all they with hundreds of tabs for some reason.
AnswerRe: CreateProcess and Detect when tthis process Ends.. Pin
Stephen Hewitt26-Aug-12 5:01
Stephen Hewitt26-Aug-12 5:01 
GeneralRe: CreateProcess and Detect when tthis process Ends.. Pin
Drakesal26-Aug-12 21:07
Drakesal26-Aug-12 21:07 
QuestionConvet Perl regular expression to equivalent ECMAScript regular expression Pin
Falconapollo25-Aug-12 18:49
Falconapollo25-Aug-12 18:49 
Questionexception caused by reference to certain Windows functions Pin
ed welch24-Aug-12 6:12
ed welch24-Aug-12 6:12 
AnswerRe: exception caused by reference to certain Windows functions Pin
pasztorpisti24-Aug-12 9:47
pasztorpisti24-Aug-12 9:47 
AnswerRe: exception caused by reference to certain Windows functions Pin
Stephen Hewitt24-Aug-12 21:15
Stephen Hewitt24-Aug-12 21:15 
GeneralRe: exception caused by reference to certain Windows functions Pin
ed welch25-Aug-12 2:11
ed welch25-Aug-12 2:11 
GeneralRe: exception caused by reference to certain Windows functions Pin
Richard MacCutchan25-Aug-12 4:21
mveRichard MacCutchan25-Aug-12 4:21 
GeneralRe: exception caused by reference to certain Windows functions Pin
ed welch25-Aug-12 5:33
ed welch25-Aug-12 5:33 
GeneralRe: exception caused by reference to certain Windows functions Pin
Stephen Hewitt25-Aug-12 23:39
Stephen Hewitt25-Aug-12 23:39 
AnswerRe: exception caused by reference to certain Windows functions Pin
jschell25-Aug-12 7:37
jschell25-Aug-12 7:37 
GeneralRe: exception caused by reference to certain Windows functions Pin
ed welch25-Aug-12 9:19
ed welch25-Aug-12 9:19 
Questionprediction algorithm Pin
smkay24-Aug-12 4:52
smkay24-Aug-12 4:52 
AnswerRe: prediction algorithm Pin
Richard MacCutchan24-Aug-12 5:01
mveRichard MacCutchan24-Aug-12 5:01 
JokeRe: prediction algorithm Pin
Joan M24-Aug-12 23:00
professionalJoan M24-Aug-12 23:00 
AnswerRe: prediction algorithm Pin
CPallini25-Aug-12 7:24
mveCPallini25-Aug-12 7:24 
AnswerRe: prediction algorithm Pin
Stefan_Lang29-Aug-12 1:48
Stefan_Lang29-Aug-12 1:48 
QuestionHow to provide scrollbar to a dialog box dynamically in MFC.? Pin
Munish batra23-Aug-12 21:36
Munish batra23-Aug-12 21:36 
AnswerRe: How to provide scrollbar to a dialog box dynamically in MFC.? Pin
Maximilien24-Aug-12 7:21
Maximilien24-Aug-12 7:21 
Questionwhich is the best open source library for 2D drawings. Pin
Member 935377623-Aug-12 20:10
Member 935377623-Aug-12 20:10 
AnswerRe: which is the best open source library for 2D drawings. Pin
Software_Developer23-Aug-12 22:45
Software_Developer23-Aug-12 22:45 
QuestionBetter "pattern" for if-else if for strings ? Pin
Maximilien23-Aug-12 3:57
Maximilien23-Aug-12 3:57 
AnswerRe: Better "pattern" for if-else if for strings ? Pin
pasztorpisti23-Aug-12 4:49
pasztorpisti23-Aug-12 4:49 

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.