Click here to Skip to main content
15,906,766 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WaitForSingleObject, Run do loop, win32 api Pin
jkirkerx26-Nov-11 12:37
professionaljkirkerx26-Nov-11 12:37 
QuestionRe: WaitForSingleObject, Run do loop, win32 api Pin
Randor 26-Nov-11 13:35
professional Randor 26-Nov-11 13:35 
AnswerRe: WaitForSingleObject, Run do loop, win32 api Pin
jkirkerx26-Nov-11 16:39
professionaljkirkerx26-Nov-11 16:39 
GeneralRe: WaitForSingleObject, Run do loop, win32 api Pin
Randor 27-Nov-11 6:33
professional Randor 27-Nov-11 6:33 
GeneralRe: WaitForSingleObject, Run do loop, win32 api Pin
jkirkerx27-Nov-11 9:07
professionaljkirkerx27-Nov-11 9:07 
GeneralRe: WaitForSingleObject, Run do loop, win32 api Pin
Randor 27-Nov-11 9:16
professional Randor 27-Nov-11 9:16 
GeneralRe: WaitForSingleObject, Run do loop, win32 api Pin
jkirkerx27-Nov-11 10:16
professionaljkirkerx27-Nov-11 10:16 
GeneralRe: WaitForSingleObject, Run do loop, win32 api Pin
Randor 27-Nov-11 10:41
professional Randor 27-Nov-11 10:41 
Hi,

jkirkerx wrote:
Well it works like a rolex now. I can cancel the installation, and it exits clean. I put my cosmetics in, but changed it to a more simple format. I put a flipflop in, but can't remember how to flipflop with a simple command. bFlipFlop++ or something.


Love the analogy. What do you mean by flipfop? Are you referring to bit flipping?

C++
bool b = true;
while(1)
{
    b = !b;
}



jkirkerx wrote:
I need to go back and load you up with some 5's for the help.

Nah, don't do that... I don't come here for 5's. I wish the reputation system would go away, it cheapens the website... I want my old codeproject back.


jkirkerx wrote:
I'm not sure if I'm done, but wish to thank you for helping me to get a better understanding of win32 api.

Now that's why I come here, a 'thank you' is worth much more than a 5. Smile | :)


jkirkerx wrote:
The sample should give you a good idea of what I'm up to, perhaps there's something in the message that can tell me if the user canceled the operation, versus the operation exiting clean.


Put back that call to GetExitCodeProcess... that could potentially tell you if the user cancelled the operation. The Microsoft SQL Server Express 2008 may or may not return a different value based on cancellation...

Best Wishes,
-David Delaune
GeneralRe: WaitForSingleObject, Run do loop, win32 api Pin
jkirkerx27-Nov-11 10:50
professionaljkirkerx27-Nov-11 10:50 
GeneralModulus Operator % Pin
Randor 27-Nov-11 11:23
professional Randor 27-Nov-11 11:23 
GeneralRe: WaitForSingleObject, Run do loop, win32 api Pin
jkirkerx27-Nov-11 10:44
professionaljkirkerx27-Nov-11 10:44 
QuestionSetFocus problem Pin
_Flaviu25-Nov-11 3:05
_Flaviu25-Nov-11 3:05 
QuestionRe: SetFocus problem Pin
Chris Meech25-Nov-11 3:23
Chris Meech25-Nov-11 3:23 
AnswerRe: SetFocus problem Pin
_Flaviu25-Nov-11 9:07
_Flaviu25-Nov-11 9:07 
GeneralRe: SetFocus problem Pin
Chris Meech25-Nov-11 9:18
Chris Meech25-Nov-11 9:18 
GeneralRe: SetFocus problem Pin
_Flaviu25-Nov-11 9:46
_Flaviu25-Nov-11 9:46 
GeneralRe: SetFocus problem Pin
Goto_Label_26-Nov-11 11:59
Goto_Label_26-Nov-11 11:59 
AnswerRe: SetFocus problem Pin
Jonathan Davies25-Nov-11 6:44
Jonathan Davies25-Nov-11 6:44 
QuestionCapture mouse over event on trayicon aplication Pin
lucio8124-Nov-11 2:58
lucio8124-Nov-11 2:58 
AnswerRe: Capture mouse over event on trayicon aplication Pin
Software_Developer24-Nov-11 4:56
Software_Developer24-Nov-11 4:56 
AnswerRe: Capture mouse over event on trayicon aplication Pin
Satheesh154624-Nov-11 17:18
Satheesh154624-Nov-11 17:18 
GeneralRe: Capture mouse over event on trayicon aplication Pin
Richard MacCutchan24-Nov-11 21:39
mveRichard MacCutchan24-Nov-11 21:39 
QuestionHow to get close event of form view in MFC Pin
Amrit Agr24-Nov-11 1:53
Amrit Agr24-Nov-11 1:53 
AnswerRe: How to get close event of form view in MFC Pin
Schehaider_Aymen24-Nov-11 2:46
Schehaider_Aymen24-Nov-11 2:46 
AnswerRe: How to get close event of form view in MFC Pin
Software_Developer24-Nov-11 5:19
Software_Developer24-Nov-11 5:19 

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.